diff options
author | Dam Sunwoo <dam.sunwoo@arm.com> | 2012-06-05 01:23:11 -0400 |
---|---|---|
committer | Dam Sunwoo <dam.sunwoo@arm.com> | 2012-06-05 01:23:11 -0400 |
commit | 14539ccae19098a26a7048f475f3ffd44b711f5d (patch) | |
tree | ce1f163bc99546e2ad0d211b6f42bab994ecb358 /src/sim | |
parent | eced845a5ebd77ebf413793fe8afdab54262c15f (diff) | |
download | gem5-14539ccae19098a26a7048f475f3ffd44b711f5d.tar.xz |
Mem: add per-master stats to physmem
Added per-master stats (similar to cache stats) to physmem.
Diffstat (limited to 'src/sim')
-rw-r--r-- | src/sim/system.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sim/system.cc b/src/sim/system.cc index 906f7947f..67fb7480a 100644 --- a/src/sim/system.cc +++ b/src/sim/system.cc @@ -145,6 +145,9 @@ System::System(Params *p) // increment the number of running systms numSystemsRunning++; + // Set back pointers to the system in all memories + for (int x = 0; x < params()->memories.size(); x++) + params()->memories[x]->system(this); } System::~System() |