mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-01 08:50:19 +00:00
Move functionality to scheduler
This commit is contained in:
1 parent
b658e20110
commit
dcfeede18e
10 files changed
+514
-514
No files matched your search
@@ -0,0 +1,14 @@
|
||||
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,
|
||||
}
|
||||
Reference in new issue
Block a user