mem: Add callback to compute stats prior to dump event
Review Request #3601 - Created Aug. 4, 2016 and submitted
| Information | |
|---|---|
| Curtis Dunham | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
| myzinsky | |
mem: Add callback to compute stats prior to dump event
The per rank statistics are periodically updated based on
state transition and refresh events.Add a method to update these when a dump event occurs to
ensure they reflect accurate values.
Specifically, need to ensure that the low-power state
durations, power, and energy are logged correctly.Change-Id: Ib642a6668340de8f494a608bb34982e58ba7f1eb
Reviewed-by: Radhika Jagtap <radhika.jagtap@arm.com>
People: |
|
|---|
Just a small thing below. Other than that it looks good.
-
src/mem/dram_ctrl.cc (Diff revision 1) -
Should this be here? Or in the constructor or ::init()?
I'm not sure where the right place is.. but I don't think that regStats() is it. I think it's kind of hidden here.
