diff options
author | Kevin Lim <ktlim@umich.edu> | 2006-06-13 22:40:02 -0400 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2006-06-13 22:40:02 -0400 |
commit | 7709e6ba93be4b67b22e2f3f9c853a3e1ab4458b (patch) | |
tree | 582d35cd1edd6a12e6c45929f84f9a8fe18f6c8e /src/cpu/o3/fetch_impl.hh | |
parent | 285b88a57b0111cc6698f2e30182dca17d8ea15a (diff) | |
parent | 133903b28d06842ec8fd30ae8b439c37e33da31b (diff) | |
download | gem5-7709e6ba93be4b67b22e2f3f9c853a3e1ab4458b.tar.xz |
Merge ktlim@zizzer:/bk/newmem
into zamp.eecs.umich.edu:/z/ktlim2/clean/newmem-merge
--HG--
extra : convert_revision : 5c0e56572c5ca14e0c9a7ac52b0453026e48b336
Diffstat (limited to 'src/cpu/o3/fetch_impl.hh')
-rw-r--r-- | src/cpu/o3/fetch_impl.hh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cpu/o3/fetch_impl.hh b/src/cpu/o3/fetch_impl.hh index af2aadf09..477a1469c 100644 --- a/src/cpu/o3/fetch_impl.hh +++ b/src/cpu/o3/fetch_impl.hh @@ -915,7 +915,11 @@ DefaultFetch<Impl>::fetch(bool &status_change) bool fetch_success = fetchCacheLine(fetch_PC, fault, tid); if (!fetch_success) { - ++fetchMiscStallCycles; + if (cacheBlocked) { + ++icacheStallCycles; + } else { + ++fetchMiscStallCycles; + } return; } } else { |