summaryrefslogtreecommitdiff
path: root/src/cpu/o3/fetch_impl.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/o3/fetch_impl.hh')
-rw-r--r--src/cpu/o3/fetch_impl.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cpu/o3/fetch_impl.hh b/src/cpu/o3/fetch_impl.hh
index c58892e84..832ca3767 100644
--- a/src/cpu/o3/fetch_impl.hh
+++ b/src/cpu/o3/fetch_impl.hh
@@ -1312,6 +1312,10 @@ DefaultFetch<Impl>::fetch(bool &status_change)
numInst++;
+#if TRACING_ON
+ instruction->fetchTick = curTick();
+#endif
+
nextPC = thisPC;
// If we're branching after this instruction, quite fetching