Skip to content

Commit

Permalink
chore: fix timer location
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpwang committed Nov 4, 2023
1 parent 9f2e8a5 commit 5e6fceb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions halo2_proofs/src/plonk/evaluation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,6 @@ impl<C: CurveAffine> Evaluator<C> {

let mut values = domain.empty_extended();

#[cfg(feature = "profile")]
let start3 = start_timer!(|| "Core expression evaluations");
// Core expression evaluations
let num_threads = multicore::current_num_threads();
for ((((advice, instance), lookups), shuffles), permutation) in advice
Expand All @@ -365,6 +363,8 @@ impl<C: CurveAffine> Evaluator<C> {
.zip(shuffles.iter())
.zip(permutations.iter())
{
#[cfg(feature = "profile")]
let start3 = start_timer!(|| "Custom gates");
// Custom gates
multicore::scope(|scope| {
let chunk_size = (size + num_threads - 1) / num_threads;
Expand Down

0 comments on commit 5e6fceb

Please sign in to comment.