diff options
author | Timothy M. Jones <timothy.jones@arm.com> | 2013-04-22 13:20:31 -0400 |
---|---|---|
committer | Timothy M. Jones <timothy.jones@arm.com> | 2013-04-22 13:20:31 -0400 |
commit | 005616518c5eaa78933eb4d4760bf5243f948139 (patch) | |
tree | 8a506633bd44afeb175e09b1678f66d6b7a5fa1d /src | |
parent | 5f2361f3afb5c8d15e0a5f262a0f8a7942084563 (diff) | |
download | gem5-005616518c5eaa78933eb4d4760bf5243f948139.tar.xz |
cpu: Let python scripts obtain the number of instructions executed
Diffstat (limited to 'src')
-rw-r--r-- | src/cpu/BaseCPU.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpu/BaseCPU.py b/src/cpu/BaseCPU.py index f47838e83..b98ddee6e 100644 --- a/src/cpu/BaseCPU.py +++ b/src/cpu/BaseCPU.py @@ -98,6 +98,7 @@ class BaseCPU(MemObject): void takeOverFrom(BaseCPU *cpu); bool switchedOut(); void flushTLBs(); + Counter totalInsts(); ''') @classmethod |