diff options
Diffstat (limited to 'src/gpuwattch')
| -rw-r--r-- | src/gpuwattch/gpgpu_sim_wrapper.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpuwattch/gpgpu_sim_wrapper.cc b/src/gpuwattch/gpgpu_sim_wrapper.cc index df90de5..115c2b7 100644 --- a/src/gpuwattch/gpgpu_sim_wrapper.cc +++ b/src/gpuwattch/gpgpu_sim_wrapper.cc @@ -243,15 +243,15 @@ void gpgpu_sim_wrapper::reset_counters(bool do_print){ pwr_cmp_min[i]= 0; } - for(unsigned i=0; i<num_pwr_cmps; ++i){ + for(unsigned i=0; i<num_per_counts; ++i){ perf_count_avg[i]= 0; } - for(unsigned i=0; i<num_pwr_cmps; ++i){ + for(unsigned i=0; i<num_per_counts; ++i){ perf_count_min[i]= 0; } - for(unsigned i=0; i<num_pwr_cmps; ++i){ + for(unsigned i=0; i<num_per_counts; ++i){ perf_count_max[i]= 0; } |
