From 1a79a6c54cbd2a7b75ebc1ab7fd6d449f18197f8 Mon Sep 17 00:00:00 2001 From: Tayler Hetherington Date: Fri, 22 Mar 2013 08:12:10 -0800 Subject: Fixing bug in reseting code - looping over # of power values, not number of performance counters to reset performance counters [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 15577] --- src/gpuwattch/gpgpu_sim_wrapper.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gpuwattch/gpgpu_sim_wrapper.cc') 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