Browse Source

fix time evaluation for qdp bench

master
Constantin Fürst 11 months ago
parent
commit
a83f208cd2
  1. 6
      qdp_project/src/utils/BenchmarkHelpers.cpp

6
qdp_project/src/utils/BenchmarkHelpers.cpp

@ -126,8 +126,8 @@ void process_timings(
}
if (scanb_rc != 0) {
*scana_run /= scanb_rc;
*scana_wait /= scanb_rc;
*scanb_run /= scanb_rc;
*scanb_wait /= scanb_rc;
}
}
{
@ -151,5 +151,7 @@ void process_timings(
for (const auto e : INTERNAL_TIMING_VECTOR_LOAD_[AGGRJ_TIMING_INDEX]) *aggrj_load += e;
*scana_load /= INTERNAL_TIMING_VECTOR_LOAD_[SCANA_TIMING_INDEX].size();
*aggrj_load /= INTERNAL_TIMING_VECTOR_LOAD_[AGGRJ_TIMING_INDEX].size();
*scana_run -= *scana_load;
*aggrj_run -= *aggrj_run;
}
}
Loading…
Cancel
Save