From 5eebb5d3938302ffff1ab80e09bf6065e2fa1c92 Mon Sep 17 00:00:00 2001 From: Tayler Hetherington Date: Sun, 9 Jun 2013 21:56:23 -0800 Subject: Fixing interconnect stats bug [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 16428] --- src/gpuwattch/gpgpu_sim_wrapper.cc | 2 +- src/gpuwattch/gpgpu_sim_wrapper.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gpuwattch') 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: -- cgit v1.3