changeset d79319eb68d5 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=d79319eb68d5
description:
cpu: Let python scripts obtain the number of instructions executed
diffstat:
src/cpu/BaseCPU.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r c717bd5e0a1d -r d79319eb68d5 src/cpu/BaseCPU.py
--- a/src/cpu/BaseCPU.py Mon Apr 22 13:20:31 2013 -0400
+++ b/src/cpu/BaseCPU.py Mon Apr 22 13:20:31 2013 -0400
@@ -98,6 +98,7 @@
void takeOverFrom(BaseCPU *cpu);
bool switchedOut();
void flushTLBs();
+ Counter totalInsts();
''')
@classmethod
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev