From d8c39c7de2957efb10797e24b835306e295df7f2 Mon Sep 17 00:00:00 2001 From: Tayler Hetherington Date: Tue, 5 Mar 2013 15:24:42 -0800 Subject: GPUWattch bug fix: Performance counters not being correctly reset at kernel completion. [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 15413] --- src/gpgpu-sim/power_interface.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gpgpu-sim/power_interface.cc') diff --git a/src/gpgpu-sim/power_interface.cc b/src/gpgpu-sim/power_interface.cc index 4f8daca..4ff6cf2 100644 --- a/src/gpgpu-sim/power_interface.cc +++ b/src/gpgpu-sim/power_interface.cc @@ -123,3 +123,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_perf_counters(do_print); +} -- cgit v1.3