From ad2fa1e1c9587e8c2a2b7f3e5a9c592312042eb4 Mon Sep 17 00:00:00 2001 From: Kevin Lim Date: Thu, 24 Aug 2006 17:43:08 -0400 Subject: Support profiling. --HG-- extra : convert_revision : eab02dea68442bd3f8c5d1d16b7f93f43cbda2a5 --- cpu/o3/alpha_cpu_impl.hh | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'cpu/o3/alpha_cpu_impl.hh') diff --git a/cpu/o3/alpha_cpu_impl.hh b/cpu/o3/alpha_cpu_impl.hh index 1bf0652cd..071a870ef 100644 --- a/cpu/o3/alpha_cpu_impl.hh +++ b/cpu/o3/alpha_cpu_impl.hh @@ -153,15 +153,6 @@ AlphaFullCPU::regStats() this->commit.regStats(); } -#if FULL_SYSTEM -template -void -AlphaFullCPU::AlphaXC::dumpFuncProfile() -{ - // Currently not supported -} -#endif - template void AlphaFullCPU::AlphaXC::takeOverFrom(ExecContext *old_context) @@ -334,15 +325,26 @@ AlphaFullCPU::AlphaXC::readLastSuspend() return thread->lastSuspend; } +template +void +AlphaFullCPU::AlphaXC::dumpFuncProfile() +{ + thread->dumpFuncProfile(); +} + template void AlphaFullCPU::AlphaXC::profileClear() -{} +{ + thread->profileClear(); +} template void AlphaFullCPU::AlphaXC::profileSample() -{} +{ + thread->profileSample(); +} #endif template -- cgit v1.2.3