Browse Source

don't print runtime and auto count

par-agg-key-shares
Janmajaya Mall 10 months ago
parent
commit
691d662aa8
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/pbs.rs

+ 3
- 3
src/pbs.rs

@ -192,7 +192,7 @@ pub(crate) fn pbs<
}); });
} }
let now = std::time::Instant::now();
// let now = std::time::Instant::now();
// blind rotate // blind rotate
blind_rotation( blind_rotation(
&mut trivial_rlwe_test_poly, &mut trivial_rlwe_test_poly,
@ -208,7 +208,7 @@ pub(crate) fn pbs<
pbs_info, pbs_info,
pbs_key, pbs_key,
); );
println!("Blind rotation time: {:?}", now.elapsed());
// println!("Blind rotation time: {:?}", now.elapsed());
// sample extract // sample extract
sample_extract(lwe_in, &trivial_rlwe_test_poly, pbs_info.modop_rlweq(), 0); sample_extract(lwe_in, &trivial_rlwe_test_poly, pbs_info.modop_rlweq(), 0);
@ -372,7 +372,7 @@ fn blind_rotation<
mod_op, mod_op,
); );
}); });
println!("Auto count: {count}");
// println!("Auto count: {count}");
} }
fn mod_switch_odd(v: f64, from_q: f64, to_q: f64) -> usize { fn mod_switch_odd(v: f64, from_q: f64, to_q: f64) -> usize {

Loading…
Cancel
Save