summaryrefslogtreecommitdiff
path: root/src/cpu/thread_state.cc
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2006-06-09 17:21:37 -0400
committerKevin Lim <ktlim@umich.edu>2006-06-09 17:21:37 -0400
commitcaca57421b32410f6ff1356ae75684891337073f (patch)
tree705b165857f882cc2daefbe15504bea713c6c094 /src/cpu/thread_state.cc
parentc14c78fa3ed76d8d31d958724246d401d20396ea (diff)
downloadgem5-caca57421b32410f6ff1356ae75684891337073f.tar.xz
Two minor fixes.
src/cpu/o3/lsq_unit_impl.hh: Missed this name change. src/cpu/thread_state.cc: Fix for stats. --HG-- extra : convert_revision : 50ea862f97f2fbc75c1c03d5700df1e8f2c0d122
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