summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimothy M. Jones <timothy.jones@arm.com>2013-04-22 13:20:31 -0400
committerTimothy M. Jones <timothy.jones@arm.com>2013-04-22 13:20:31 -0400
commit005616518c5eaa78933eb4d4760bf5243f948139 (patch)
tree8a506633bd44afeb175e09b1678f66d6b7a5fa1d /src
parent5f2361f3afb5c8d15e0a5f262a0f8a7942084563 (diff)
downloadgem5-005616518c5eaa78933eb4d4760bf5243f948139.tar.xz
cpu: Let python scripts obtain the number of instructions executed
Diffstat (limited to 'src')
-rw-r--r--src/cpu/BaseCPU.py1
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