summaryrefslogtreecommitdiff
path: root/src/gpuwattch/gpgpu_sim_wrapper.cc
diff options
context:
space:
mode:
authorTayler Hetherington <[email protected]>2013-06-09 21:56:23 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:50:47 -0700
commit5eebb5d3938302ffff1ab80e09bf6065e2fa1c92 (patch)
tree96d0c3e7a7c0967d6f181c127376948c17be3e98 /src/gpuwattch/gpgpu_sim_wrapper.cc
parentad5ea1e3b77bfa5b36d529de24e9b5c5c1113cf3 (diff)
Fixing interconnect stats bug
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 16428]
Diffstat (limited to 'src/gpuwattch/gpgpu_sim_wrapper.cc')
-rw-r--r--src/gpuwattch/gpgpu_sim_wrapper.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpuwattch/gpgpu_sim_wrapper.cc b/src/gpuwattch/gpgpu_sim_wrapper.cc
index 0f534b9..6a67b67 100644
--- a/src/gpuwattch/gpgpu_sim_wrapper.cc
+++ b/src/gpuwattch/gpgpu_sim_wrapper.cc
@@ -408,7 +408,7 @@ void gpgpu_sim_wrapper::set_active_lanes_power(double sp_avg_active_lane, double
p->sys.core[0].sfu_average_active_lanes = sfu_avg_active_lane;
}
-void gpgpu_sim_wrapper::set_NoC_power(double noc_tot_reads,double noc_tot_writes )
+void gpgpu_sim_wrapper::set_NoC_power(double noc_tot_reads, double noc_tot_writes )
{
p->sys.NoC[0].total_accesses = noc_tot_reads * p->sys.scaling_coefficients[NOC_A] + noc_tot_writes * p->sys.scaling_coefficients[NOC_A];
perf_count[NOC_A]=noc_tot_reads+noc_tot_writes;