cpu: Let python scripts obtain the number of instructions executed
This commit is contained in:
@@ -98,6 +98,7 @@ class BaseCPU(MemObject):
|
||||
void takeOverFrom(BaseCPU *cpu);
|
||||
bool switchedOut();
|
||||
void flushTLBs();
|
||||
Counter totalInsts();
|
||||
''')
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user