From 5db8c25106b020e53125d6daff1875dffaac1fe3 Mon Sep 17 00:00:00 2001 From: Ahmed El-Shafiey Date: Fri, 30 Nov 2012 22:42:24 -0800 Subject: adding the scaling to the total instruction as well [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14734] --- src/mcpat/gpgpu_sim_wrapper.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.3