summaryrefslogtreecommitdiff
path: root/src/gpuwattch/processor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpuwattch/processor.cc')
-rw-r--r--src/gpuwattch/processor.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gpuwattch/processor.cc b/src/gpuwattch/processor.cc
index 1fb37c1..5dda9fc 100644
--- a/src/gpuwattch/processor.cc
+++ b/src/gpuwattch/processor.cc
@@ -64,6 +64,7 @@ Processor::Processor(ParseXML *XML_interface)
* There is no point to have heterogeneous memory controller on chip,
* thus McPAT only support homogeneous memory controllers.
*/
+ rt_power.reset();
int i;
double pppm_t[4] = {1,1,1,1};
l2_power=0;
@@ -1019,7 +1020,6 @@ void Processor::set_proc_param()
}
-
Processor::~Processor(){
while (!cores.empty())
{
@@ -1058,3 +1058,5 @@ Processor::~Processor(){
delete flashcontroller;
}
};
+
+