summaryrefslogtreecommitdiff
path: root/src/gpuwattch
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
parentad5ea1e3b77bfa5b36d529de24e9b5c5c1113cf3 (diff)
Fixing interconnect stats bug
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 16428]
Diffstat (limited to 'src/gpuwattch')
-rw-r--r--src/gpuwattch/gpgpu_sim_wrapper.cc2
-rw-r--r--src/gpuwattch/gpgpu_sim_wrapper.h2
2 files changed, 2 insertions, 2 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;
diff --git a/src/gpuwattch/gpgpu_sim_wrapper.h b/src/gpuwattch/gpgpu_sim_wrapper.h
index f37d4f8..f7f5066 100644
--- a/src/gpuwattch/gpgpu_sim_wrapper.h
+++ b/src/gpuwattch/gpgpu_sim_wrapper.h
@@ -77,7 +77,7 @@ public:
void set_mem_ctrl_power(double reads, double writes, double dram_precharge);
void set_exec_unit_power(double fpu_accesses, double ialu_accesses, double sfu_accesses);
void set_active_lanes_power(double sp_avg_active_lane, double sfu_avg_active_lane);
- void set_NoC_power(double noc_tot_reads,double noc_tot_write);
+ void set_NoC_power(double noc_tot_reads, double noc_tot_write);
bool sanity_check(double a, double b);
private: