mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-10-30 00:38:56 +00:00
15 lines
316 B
Rust
15 lines
316 B
Rust
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,
|
|
}
|