Fix count statistic
This commit is contained in:
parent
e1c5a2fa23
commit
80f559be3a
@ -300,7 +300,7 @@ fn calibrate_fixed_freq_2_thread_impl<I: Iterator<Item = (usize, usize)>, T>(
|
||||
print!(",{}", hist);
|
||||
}
|
||||
|
||||
*count += 1;
|
||||
*count += *hist;
|
||||
if *min == 0 {
|
||||
// looking for min
|
||||
if *hist > SPURIOUS_THRESHOLD {
|
||||
|
@ -246,7 +246,7 @@ pub struct CalibrateResult {
|
||||
pub median: Vec<u64>,
|
||||
pub min: Vec<u64>,
|
||||
pub max: Vec<u64>,
|
||||
pub count: Vec<isize>
|
||||
pub count: Vec<u32>
|
||||
}
|
||||
|
||||
pub struct CalibrateOperation<'a> {
|
||||
@ -426,8 +426,7 @@ fn calibrate_impl_fixed_freq(
|
||||
if verbosity_level >= RawResult {
|
||||
print!(",{}", hist);
|
||||
}
|
||||
|
||||
*count += 1;
|
||||
*count += *hist;
|
||||
if *min == 0 {
|
||||
// looking for min
|
||||
if *hist > SPURIOUS_THRESHOLD {
|
||||
|
Loading…
Reference in New Issue
Block a user