summaryrefslogtreecommitdiff
path: root/src/cpu/thread_state.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/thread_state.cc')
-rw-r--r--src/cpu/thread_state.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpu/thread_state.cc b/src/cpu/thread_state.cc
index 9525861e5..dcfa93c3e 100644
--- a/src/cpu/thread_state.cc
+++ b/src/cpu/thread_state.cc
@@ -45,6 +45,8 @@ ThreadState::ThreadState(int _cpuId, int _tid, MemObject *mem,
funcExeInst(0), storeCondFailures(0)
#endif
{
+ numInst = 0;
+ numLoad = 0;
}
#if FULL_SYSTEM