summaryrefslogtreecommitdiff
path: root/src/gpuwattch/processor.h
diff options
context:
space:
mode:
authorJingwen Leng (UT Austin) <[email protected]>2013-10-15 19:05:58 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:50:59 -0700
commitda74edd77d3effb3da82090c05ebd3a1f3965f1f (patch)
treedcd310e14a7a343f285a4408374d72a9c43db194 /src/gpuwattch/processor.h
parent3c71147d4138fbed4334a70c80b70a54539cce35 (diff)
fix dram sampling interval scaling
fix dram clock energy scaling [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 17124]
Diffstat (limited to 'src/gpuwattch/processor.h')
-rw-r--r--src/gpuwattch/processor.h6
1 files changed, 3 insertions, 3 deletions
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;