projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f2361f
)
cpu: Let python scripts obtain the number of instructions executed
author
Timothy M. Jones
<timothy.jones@arm.com>
Mon, 22 Apr 2013 17:20:31 +0000
(13:20 -0400)
committer
Timothy M. Jones
<timothy.jones@arm.com>
Mon, 22 Apr 2013 17:20:31 +0000
(13:20 -0400)
src/cpu/BaseCPU.py
patch
|
blob
|
history
diff --git
a/src/cpu/BaseCPU.py
b/src/cpu/BaseCPU.py
index f47838e8363d31c7cf9fd2726f7f0de536931da1..b98ddee6efff047d4cc538ead610f41de81182b8 100644
(file)
--- 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