diff options
author | Kevin Lim <ktlim@umich.edu> | 2006-08-24 17:43:08 -0400 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2006-08-24 17:43:08 -0400 |
commit | ad2fa1e1c9587e8c2a2b7f3e5a9c592312042eb4 (patch) | |
tree | e52b0443cc937e127c5d31b49f0c2dcf280c4d50 /cpu/o3/alpha_cpu_impl.hh | |
parent | 74e8abd37ecd637a607f90e36aed1a3a16eea7da (diff) | |
download | gem5-ad2fa1e1c9587e8c2a2b7f3e5a9c592312042eb4.tar.xz |
Support profiling.
--HG--
extra : convert_revision : eab02dea68442bd3f8c5d1d16b7f93f43cbda2a5
Diffstat (limited to 'cpu/o3/alpha_cpu_impl.hh')
-rw-r--r-- | cpu/o3/alpha_cpu_impl.hh | 24 |
1 files changed, 13 insertions, 11 deletions
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<Impl>::regStats() this->commit.regStats(); } -#if FULL_SYSTEM -template <class Impl> -void -AlphaFullCPU<Impl>::AlphaXC::dumpFuncProfile() -{ - // Currently not supported -} -#endif - template <class Impl> void AlphaFullCPU<Impl>::AlphaXC::takeOverFrom(ExecContext *old_context) @@ -336,13 +327,24 @@ AlphaFullCPU<Impl>::AlphaXC::readLastSuspend() template <class Impl> void +AlphaFullCPU<Impl>::AlphaXC::dumpFuncProfile() +{ + thread->dumpFuncProfile(); +} + +template <class Impl> +void AlphaFullCPU<Impl>::AlphaXC::profileClear() -{} +{ + thread->profileClear(); +} template <class Impl> void AlphaFullCPU<Impl>::AlphaXC::profileSample() -{} +{ + thread->profileSample(); +} #endif template <class Impl> |