mem-ruby: This commit patches an error in AbstractController.cc (#294)

Links to #293 

After calling m5_dump_reset_stats(0,0) in a test program, some
statistics like
l1_controllers.L1Dcache.m_demand_hits,
l1_controllers.L1Dcache.m_demand_misses,
l1_controllers.L1Dcache.m_demand_accesses
were not getting reset in the newer stat dumps.
This one line patch fixes that. Changes were tested with calling two
m5_dump_reset_stats(0,0) in a row for a system with 1 core, tested on
both SE and FS.
Credits: @MeatBoy106
This commit is contained in:
Bobby R. Bruce
2023-09-13 15:48:46 -07:00
committed by GitHub

View File

@@ -125,6 +125,7 @@ AbstractController::resetStats()
for (uint32_t i = 0; i < size; i++) {
stats.delayVCHistogram[i]->reset();
}
ClockedObject::resetStats();
}
void