diff --git a/qdp_project/src/utils/BenchmarkHelpers.cpp b/qdp_project/src/utils/BenchmarkHelpers.cpp index 551ce81..05d5dac 100644 --- a/qdp_project/src/utils/BenchmarkHelpers.cpp +++ b/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; } } \ No newline at end of file