From d19143f8a72c2b90e912fdb42846562a2ca89796 Mon Sep 17 00:00:00 2001 From: Jonathan Wang <31040440+jonathanpwang@users.noreply.github.com> Date: Fri, 3 Jan 2025 15:02:14 -0500 Subject: [PATCH] chore: fix markdown ms to s conversion --- crates/prof/src/aggregate.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/prof/src/aggregate.rs b/crates/prof/src/aggregate.rs index 886c69bdcd..f0234a1c40 100644 --- a/crates/prof/src/aggregate.rs +++ b/crates/prof/src/aggregate.rs @@ -232,12 +232,12 @@ impl AggregateMetrics { } if !group_name.contains("keygen") { // Proving time in keygen group is dummy and not part of total. - total_proof_time.val += stats.sum.val; - *total_proof_time.diff.as_mut().unwrap() += stats.sum.diff.unwrap_or(0.0); - total_par_proof_time.val += stats.max.val; - *total_par_proof_time.diff.as_mut().unwrap() += stats.max.diff.unwrap_or(0.0); + total_proof_time.val += sum.val; + *total_proof_time.diff.as_mut().unwrap() += sum.diff.unwrap_or(0.0); + total_par_proof_time.val += max.val; + *total_par_proof_time.diff.as_mut().unwrap() += max.diff.unwrap_or(0.0); } - rows.push((group_name, stats.sum, stats.max)); + rows.push((group_name, sum, max)); } writeln!( writer,