mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-10-30 16:40:18 +00:00
Represent memory usage as f64 as well
This commit is contained in:
1 parent
27ad0fb65e
commit
6b4e9eb5c2
8 files changed
+93
-79
No files matched your search
@@ -9,7 +9,7 @@ use crate::options::{
|
||||
CmdFailureAction, CommandInputPolicy, CommandOutputPolicy, Options, OutputStyleOption, Shell,
|
||||
};
|
||||
use crate::output::progress_bar::get_progress_bar;
|
||||
use crate::quantity::{byte, second, Information, Time, TimeQuantity};
|
||||
use crate::quantity::{second, Information, InformationQuantity, Time, TimeQuantity};
|
||||
use crate::timer::execute_and_measure;
|
||||
use crate::util::randomized_environment_offset;
|
||||
|
||||
@@ -348,7 +348,7 @@ impl Executor for MockExecutor {
|
||||
time_wall_clock: Self::extract_time(command.get_command_line()),
|
||||
time_user: Time::zero(),
|
||||
time_system: Time::zero(),
|
||||
peak_memory_usage: Information::new::<byte>(0),
|
||||
peak_memory_usage: Information::zero(),
|
||||
exit_status,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user