summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/power_interface.h
diff options
context:
space:
mode:
authorTayler Hetherington <[email protected]>2013-03-05 15:24:42 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:50:05 -0700
commitd8c39c7de2957efb10797e24b835306e295df7f2 (patch)
tree29d214d692daa0525ed19f3aef4433e78639fa87 /src/gpgpu-sim/power_interface.h
parentbf2f85331ff81618ff51635179765653d508716f (diff)
GPUWattch bug fix: Performance counters not being correctly reset at kernel completion.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 15413]
Diffstat (limited to 'src/gpgpu-sim/power_interface.h')
-rw-r--r--src/gpgpu-sim/power_interface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpgpu-sim/power_interface.h b/src/gpgpu-sim/power_interface.h
index 9bce430..3d04b7e 100644
--- a/src/gpgpu-sim/power_interface.h
+++ b/src/gpgpu-sim/power_interface.h
@@ -38,6 +38,6 @@
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);
#endif /* POWER_INTERFACE_H_ */