diff options
| -rw-r--r-- | src/gpuwattch/gpgpu_sim_wrapper.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpuwattch/gpgpu_sim_wrapper.cc b/src/gpuwattch/gpgpu_sim_wrapper.cc index bedaae1..bfcf4a1 100644 --- a/src/gpuwattch/gpgpu_sim_wrapper.cc +++ b/src/gpuwattch/gpgpu_sim_wrapper.cc @@ -231,6 +231,9 @@ void gpgpu_sim_wrapper::reset_perf_counters(bool do_print){ for(unsigned i=0; i<num_per_counts; ++i){ perf_count[i] = 0; } + for(unsigned i=0; i<num_pwr_cmps; ++i){ + pwr_cmp_avg[i]= 0; + } return; } |
