summaryrefslogtreecommitdiff
path: root/src/mcpat/gpgpu_sim_wrapper.cc
diff options
context:
space:
mode:
authorAhmed El-Shafiey <[email protected]>2012-11-30 22:42:24 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:49:22 -0700
commit5db8c25106b020e53125d6daff1875dffaac1fe3 (patch)
tree28b40c729e876195c53d5465fb24cc8ef63b7787 /src/mcpat/gpgpu_sim_wrapper.cc
parent00121bc4595b4cbc66d054ab09c6a9b10e25e914 (diff)
adding the scaling to the total instruction as well
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14734]
Diffstat (limited to 'src/mcpat/gpgpu_sim_wrapper.cc')
-rw-r--r--src/mcpat/gpgpu_sim_wrapper.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mcpat/gpgpu_sim_wrapper.cc b/src/mcpat/gpgpu_sim_wrapper.cc
index 6867f70..0ed7f57 100644
--- a/src/mcpat/gpgpu_sim_wrapper.cc
+++ b/src/mcpat/gpgpu_sim_wrapper.cc
@@ -241,7 +241,7 @@ void gpgpu_sim_wrapper::set_inst_power(bool clk_gated_lanes, double tot_cycles,
p->sys.core[0].gpgpu_clock_gated_lanes = clk_gated_lanes;
p->sys.core[0].total_cycles = tot_cycles;
p->sys.core[0].busy_cycles = busy_cycles;
- p->sys.core[0].total_instructions = tot_inst;
+ p->sys.core[0].total_instructions = tot_inst * p->sys.scaling_coefficients[TOT_INST];;
p->sys.core[0].int_instructions = int_inst * p->sys.scaling_coefficients[FP_INT];
p->sys.core[0].fp_instructions = fp_inst * p->sys.scaling_coefficients[FP_INT];
p->sys.core[0].load_instructions = load_inst;