Files
hyperfine/src/benchmark/timing_result.rs
T

17 lines
397 B
Rust
Raw Normal View History

2022-02-20 13:44:34 +01:00
use crate::util::units::Second;
/// Results from timing a single command
#[derive(Debug, Default, Copy, Clone)]
pub struct TimingResult {
/// Wall clock time
pub time_real: Second,
/// Time spent in user mode
pub time_user: Second,
/// Time spent in kernel mode
pub time_system: Second,
2024-06-23 13:29:05 +02:00
/// Maximum amount of memory used, in bytes
pub memory_usage_byte: u64,
2022-02-20 13:44:34 +01:00
}