cpu: Let python scripts obtain the number of instructions executed

This commit is contained in:
Timothy M. Jones 2013-04-22 13:20:31 -04:00
parent 5f2361f3af
commit 005616518c

View file

@ -98,6 +98,7 @@ class BaseCPU(MemObject):
void takeOverFrom(BaseCPU *cpu);
bool switchedOut();
void flushTLBs();
Counter totalInsts();
''')
@classmethod