Small buxfix update function included

This commit is contained in:
Matthias Jung
2014-07-25 11:41:14 +02:00
parent 8cdd36d064
commit 79c7c84abb

View File

@@ -47,6 +47,7 @@ struct Dram: sc_module
~Dram()
{
DRAMPower->updateCounters(true);
DRAMPower->getEnergy();
cout << "Total Energy" << "\t" << DRAMPower->mpm.energy.total_energy << endl;
cout << "Average Power" << "\t" << DRAMPower->mpm.power.average_power << endl;