summaryrefslogtreecommitdiff
path: root/src/cpu/minor
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/minor')
-rw-r--r--src/cpu/minor/execute.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cpu/minor/execute.cc b/src/cpu/minor/execute.cc
index 9317f61f4..0e83db3cb 100644
--- a/src/cpu/minor/execute.cc
+++ b/src/cpu/minor/execute.cc
@@ -870,7 +870,8 @@ Execute::doInstCommitAccounting(MinorDynInstPtr inst)
cpu.system->totalNumInsts++;
/* Act on events related to instruction counts */
- cpu.serviceInstCountEvents(inst->id.threadId, thread->numInst);
+ cpu.getContext(inst->id.threadId)->
+ serviceInstCountEvents(thread->numInst);
}
thread->numOp++;
thread->numOps++;