summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/power_interface.cc
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.cc
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.cc')
-rw-r--r--src/gpgpu-sim/power_interface.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpgpu-sim/power_interface.cc b/src/gpgpu-sim/power_interface.cc
index 3861b6a..0272aa6 100644
--- a/src/gpgpu-sim/power_interface.cc
+++ b/src/gpgpu-sim/power_interface.cc
@@ -38,7 +38,7 @@ void init_mcpat(const gpgpu_sim_config &config, class gpgpu_sim_wrapper *wrapper
}
-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_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){
static bool mcpat_init=true;