Refactoring

This commit is contained in:
David Peter authored and David Peter committed 2026-10-05 15:59:11 +02:00
1 parent be66a6668f
commit 71365c227e
6 files changed
+34 -64

No files matched your search

+2 -2
View File
@@ -82,14 +82,14 @@ pub fn execute_and_measure(mut command: Command) -> Result<Measurement> {
discard(output);
}
let (exit_status, time_user, time_system, memory_usage_byte) = cpu_timer.stop(child)?;
let (time_user, time_system, peak_memory_usage, exit_status) = cpu_timer.stop(child)?;
let time_wall_clock = wallclock_timer.stop();
Ok(Measurement {
time_wall_clock,
time_user,
time_system,
peak_memory_usage: memory_usage_byte,
peak_memory_usage,
exit_status,
})
}