Limit elapsed time to 2 decimal places

This commit is contained in:
a2x 2024-08-09 17:41:43 +10:00
parent b8e44a0ca6
commit 17b868fa63
2 changed files with 6 additions and 9 deletions

View File

@ -1,5 +1,5 @@
22:44:30 [INFO] found 16 buttons
22:44:30 [INFO] found 132 interfaces across 35 modules
22:44:31 [INFO] found 33 offsets across 5 modules
22:44:32 [INFO] found 2329 classes and 342 enums across 17 modules
22:44:32 [INFO] analysis completed in 1.5244008999999998 seconds
07:37:30 [INFO] found 16 buttons
07:37:30 [INFO] found 132 interfaces across 35 modules
07:37:31 [INFO] found 33 offsets across 5 modules
07:37:31 [INFO] found 2329 classes and 342 enums across 17 modules
07:37:31 [INFO] analysis completed in 1.05s

View File

@ -116,10 +116,7 @@ fn main() -> Result<()> {
output.dump_all(&mut process)?;
info!(
"analysis completed in {} seconds",
now.elapsed().as_secs_f64()
);
info!("analysis completed in {:.2?}", now.elapsed());
Ok(())
}