Adopted to newes commit to DRAMpower, please run the prerequisites script again or do a git pull in the dram/src/common/third_party/DRAMPower folder and build DRAMPower again

This commit is contained in:
Matthias Jung
2014-07-17 13:28:54 +02:00
parent 04c726cb73
commit db9e2d09b9

View File

@@ -42,7 +42,9 @@ struct Dram: sc_module
~Dram()
{
DRAMPower.getEnergy(Configuration::getInstance().memspecUri);
MemorySpecification memSpec(MemorySpecification::getMemSpecFromXML(Configuration::getInstance().memspecUri));
DRAMPower.getEnergy(memSpec);
std::cout << "Total Energy" << "\t" << DRAMPower.mpm.energy.total_energy << endl;
}
virtual tlm::tlm_sync_enum nb_transport_fw(tlm::tlm_generic_payload& payload, tlm::tlm_phase& phase, sc_time& delay)