cpu: Let python scripts obtain the number of instructions executed
authorTimothy M. Jones <timothy.jones@arm.com>
Mon, 22 Apr 2013 17:20:31 +0000 (13:20 -0400)
committerTimothy M. Jones <timothy.jones@arm.com>
Mon, 22 Apr 2013 17:20:31 +0000 (13:20 -0400)
src/cpu/BaseCPU.py

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