From da74edd77d3effb3da82090c05ebd3a1f3965f1f Mon Sep 17 00:00:00 2001 From: "Jingwen Leng (UT Austin)" Date: Tue, 15 Oct 2013 19:05:58 -0800 Subject: fix dram sampling interval scaling fix dram clock energy scaling [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 17124] --- src/gpuwattch/processor.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gpuwattch/processor.h') diff --git a/src/gpuwattch/processor.h b/src/gpuwattch/processor.h index 46d954e..7202460 100644 --- a/src/gpuwattch/processor.h +++ b/src/gpuwattch/processor.h @@ -195,7 +195,7 @@ class Processor : public Component value+=(mc->frontend->mcp.llcBlockSize*8.0/mc->mcp.dataBusWidth)* (mc->frontend->readBuffer->local_result.power.writeOp.dynamic); - value+=mc->dram->dramp.rd_coeff*cores[0]->executionTime; + value+=mc->dram->dramp.rd_coeff; /* value+=mc->frontend->PRT->local_result.power.readOp.dynamic; value+=mc->frontend->threadMasks->local_result.power.readOp.dynamic; @@ -239,7 +239,7 @@ class Processor : public Component value+=(mc->frontend->mcp.llcBlockSize*8.0/mc->frontend->mcp.dataBusWidth)* (mc->frontend->writeBuffer->local_result.power.writeOp.dynamic); - value+=mc->dram->dramp.wr_coeff*cores[0]->executionTime; + value+=mc->dram->dramp.wr_coeff; /* value+=(mc->frontend->PRT->local_result.power.writeOp.dynamic); @@ -273,7 +273,7 @@ class Processor : public Component double get_coefficient_mem_pre() { double value=0; - value+=mc->dram->dramp.pre_coeff*cores[0]->executionTime; + value+=mc->dram->dramp.pre_coeff; //return 0.4*value; return value; -- cgit v1.3