Small buxfix update function included
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user