From 005616518c5eaa78933eb4d4760bf5243f948139 Mon Sep 17 00:00:00 2001 From: "Timothy M. Jones" Date: Mon, 22 Apr 2013 13:20:31 -0400 Subject: [PATCH] cpu: Let python scripts obtain the number of instructions executed --- src/cpu/BaseCPU.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cpu/BaseCPU.py b/src/cpu/BaseCPU.py index f47838e83..b98ddee6e 100644 --- a/src/cpu/BaseCPU.py +++ b/src/cpu/BaseCPU.py @@ -98,6 +98,7 @@ class BaseCPU(MemObject): void takeOverFrom(BaseCPU *cpu); bool switchedOut(); void flushTLBs(); + Counter totalInsts(); ''') @classmethod -- 2.30.2