summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAhmed El-Shafiey <[email protected]>2013-03-17 12:47:15 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:50:05 -0700
commit4af310ff21d1b0cbd884343aaf8b48519fdd02b8 (patch)
tree6238c9b3fdf420c2dd839a638d5262308ee81f02
parentc417111eb9d113f3b1ae2a4612b6f573417c7f95 (diff)
fixing bugs that were revealed by automated power correlation results.
1- reset the per kernel average power per component every kernel. 2- chage the font size of the x ticks in fial figure [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 15521]
-rw-r--r--src/gpuwattch/gpgpu_sim_wrapper.cc3
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;
}