cpu: Let python scripts obtain the number of instructions executed
This commit is contained in:
parent
5f2361f3af
commit
005616518c
1 changed files with 1 additions and 0 deletions
|
@ -98,6 +98,7 @@ class BaseCPU(MemObject):
|
|||
void takeOverFrom(BaseCPU *cpu);
|
||||
bool switchedOut();
|
||||
void flushTLBs();
|
||||
Counter totalInsts();
|
||||
''')
|
||||
|
||||
@classmethod
|
||||
|
|
Loading…
Reference in a new issue