Skip to content

Commit

Permalink
chore: fix markdown ms to s conversion (#1167)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpwang authored Jan 3, 2025
1 parent 137e42d commit ac2f619
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions crates/prof/src/aggregate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ac2f619

Please sign in to comment.