Real => wall clock

This commit is contained in:
David Peter authored and David Peter committed 2026-10-05 15:56:53 +02:00
1 parent af4422d212
commit c20fcc0bda
7 files changed
+122 -97

No files matched your search

+3 -3
View File
@@ -27,7 +27,7 @@ use anyhow::Result;
/// Used to indicate the result of running a command
#[derive(Debug, Copy, Clone)]
pub struct TimerResult {
pub time_real: Second,
pub time_wall_clock: Second,
pub time_user: Second,
pub time_system: Second,
pub memory_usage_byte: u64,
@@ -94,9 +94,9 @@ pub fn execute_and_measure(mut command: Command) -> Result<Measurement> {
}
let (status, time_user, time_system, memory_usage_byte) = cpu_timer.stop(child)?;
let time_real = wallclock_timer.stop();
let time_wall_clock = wallclock_timer.stop();
Ok(Measurement {
Ok(TimerResult {
time_wall_clock,
time_user,
time_system,