summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/power_interface.h
diff options
context:
space:
mode:
authorMengchi Zhang <[email protected]>2019-07-08 12:37:52 -0400
committerMengchi Zhang <[email protected]>2019-07-08 12:37:52 -0400
commitb3e786e3d8d720217f36a214e9b5be9a19ab9dd2 (patch)
tree4606248aae16685a12a1e4943cdb06d2ca9580ed /src/gpgpu-sim/power_interface.h
parent7e9591a24ffbe645cfaa7a84b33a82edb9fca0bc (diff)
Move opcode_latency_int thus pass gpgpu_context into many classes
Signed-off-by: Mengchi Zhang <[email protected]>
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 afac22b..a388c23 100644
--- a/src/gpgpu-sim/power_interface.h
+++ b/src/gpgpu-sim/power_interface.h
@@ -36,7 +36,7 @@
#include "gpgpu_sim_wrapper.h"
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,
+void mcpat_cycle(const gpgpu_sim_config &config, const 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);