diff options
Diffstat (limited to 'src/cpu')
-rwxr-xr-x | src/cpu/o3/thread_context_impl.hh | 2 | ||||
-rw-r--r-- | src/cpu/simple_thread.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/o3/thread_context_impl.hh b/src/cpu/o3/thread_context_impl.hh index 2d109aea9..fdaa35134 100755 --- a/src/cpu/o3/thread_context_impl.hh +++ b/src/cpu/o3/thread_context_impl.hh @@ -134,7 +134,7 @@ void O3ThreadContext<Impl>::regStats(const std::string &name) { if (FullSystem) { - thread->kernelStats = new TheISA::Kernel::Statistics(cpu->system); + thread->kernelStats = new TheISA::Kernel::Statistics(); thread->kernelStats->regStats(name + ".kern"); } } diff --git a/src/cpu/simple_thread.cc b/src/cpu/simple_thread.cc index 7c3568cb3..c775983f8 100644 --- a/src/cpu/simple_thread.cc +++ b/src/cpu/simple_thread.cc @@ -100,7 +100,7 @@ SimpleThread::SimpleThread(BaseCPU *_cpu, int _thread_num, System *_sys, profilePC = 3; if (use_kernel_stats) - kernelStats = new TheISA::Kernel::Statistics(system); + kernelStats = new TheISA::Kernel::Statistics(); } SimpleThread::~SimpleThread() |