From 3a2c8ab177b6819691d7868b8e24ef6027bd2299 Mon Sep 17 00:00:00 2001 From: David Peter Date: Mon, 5 Oct 2026 14:21:14 +0200 Subject: [PATCH] Unit safe statistics functions --- src/benchmark/measurement.rs | 43 +++++--------------- src/benchmark/mod.rs | 7 ++-- src/quantity/mod.rs | 78 ++++++++++++++++++++++++++++++++++-- 3 files changed, 88 insertions(+), 40 deletions(-) diff --git a/src/benchmark/measurement.rs b/src/benchmark/measurement.rs index 5906a24..4740eb4 100644 --- a/src/benchmark/measurement.rs +++ b/src/benchmark/measurement.rs @@ -64,21 +64,18 @@ impl Measurements { self.measurements.push(measurement); } - pub fn wall_clock_times(&self) -> Vec