diff options
| author | Tayler Hetherington <[email protected]> | 2013-06-11 12:41:25 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:50:47 -0700 |
| commit | 821753ac64ac2b3f4a441d0ed6d8bb0cdffb0fb8 (patch) | |
| tree | cb908455877b49fad310e6d32a0e8e25e057f396 /src/gpgpu-sim | |
| parent | ed5da41343db26bb2c06b46a6c16a0dc78c0636a (diff) | |
Further cleaning up power stats - Continuation of issue 35001.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 16437]
Diffstat (limited to 'src/gpgpu-sim')
| -rw-r--r-- | src/gpgpu-sim/gpu-sim.cc | 4 | ||||
| -rw-r--r-- | src/gpgpu-sim/power_interface.cc | 4 | ||||
| -rw-r--r-- | src/gpgpu-sim/power_interface.h | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/gpgpu-sim/gpu-sim.cc b/src/gpgpu-sim/gpu-sim.cc index a8ebe5d..c38b133 100644 --- a/src/gpgpu-sim/gpu-sim.cc +++ b/src/gpgpu-sim/gpu-sim.cc @@ -889,8 +889,8 @@ void gpgpu_sim::gpu_print_stat() m_shader_stats->print(stdout); #ifdef GPGPUSIM_POWER_MODEL if(m_config.g_power_simulation_enabled){ - m_gpgpusim_wrapper->print_power_kernel_stats(gpu_sim_cycle, gpu_tot_sim_cycle, gpu_tot_sim_insn + gpu_sim_insn, kernel_info_str ); - mcpat_reset_perf_count(m_gpgpusim_wrapper, true); + m_gpgpusim_wrapper->print_power_kernel_stats(gpu_sim_cycle, gpu_tot_sim_cycle, gpu_tot_sim_insn + gpu_sim_insn, kernel_info_str, true ); + mcpat_reset_perf_count(m_gpgpusim_wrapper); } #endif diff --git a/src/gpgpu-sim/power_interface.cc b/src/gpgpu-sim/power_interface.cc index 7d87222..3861b6a 100644 --- a/src/gpgpu-sim/power_interface.cc +++ b/src/gpgpu-sim/power_interface.cc @@ -120,6 +120,6 @@ void mcpat_cycle(const gpgpu_sim_config &config, const struct shader_core_config //wrapper->close_files(); } -void mcpat_reset_perf_count(class gpgpu_sim_wrapper *wrapper, bool do_print){ - wrapper->reset_counters(do_print); +void mcpat_reset_perf_count(class gpgpu_sim_wrapper *wrapper){ + wrapper->reset_counters(); } diff --git a/src/gpgpu-sim/power_interface.h b/src/gpgpu-sim/power_interface.h index 3d04b7e..afac22b 100644 --- a/src/gpgpu-sim/power_interface.h +++ b/src/gpgpu-sim/power_interface.h @@ -37,7 +37,7 @@ void init_mcpat(const gpgpu_sim_config &config, class gpgpu_sim_wrapper *wrapper, unsigned stat_sample_freq, unsigned tot_inst, unsigned inst); void mcpat_cycle(const gpgpu_sim_config &config, const struct shader_core_config *shdr_config, class gpgpu_sim_wrapper *wrapper, class power_stat_t *power_stats, -unsigned stat_sample_freq, unsigned tot_cycle, unsigned cycle, unsigned tot_inst, unsigned inst); -void mcpat_reset_perf_count(class gpgpu_sim_wrapper *wrapper, bool do_print); + unsigned stat_sample_freq, unsigned tot_cycle, unsigned cycle, unsigned tot_inst, unsigned inst); +void mcpat_reset_perf_count(class gpgpu_sim_wrapper *wrapper); #endif /* POWER_INTERFACE_H_ */ |
