diff options
author | Matt Horsnell <Matt.Horsnell@arm.com> | 2013-02-15 17:40:09 -0500 |
---|---|---|
committer | Matt Horsnell <Matt.Horsnell@arm.com> | 2013-02-15 17:40:09 -0500 |
commit | e88e7d88b9a9876ee040dad96acf3deabebe1fa7 (patch) | |
tree | 54322d578272a21cd721788f25746cfbd88d94bb /src/cpu/o3/decode_impl.hh | |
parent | 64599080697a8db49b7e28609927bb4c1ed3c05e (diff) | |
download | gem5-e88e7d88b9a9876ee040dad96acf3deabebe1fa7.tar.xz |
o3: fix tick used for renaming and issue with range selection
Fixes the tick used from rename:
- previously this gathered the tick on leaving rename which was always 1 less
than the dispatch. This conflated the decode ticks when back pressure built
in the pipeline.
- now picks up tick on entry.
Added --store_completions flag:
- will additionally display the store completion tail in the viewer.
- this highlights periods when large numbers of stores are outstanding (>16 LSQ
blocking)
Allows selection by tick range (previously this caused an infinite loop)
Diffstat (limited to 'src/cpu/o3/decode_impl.hh')
-rw-r--r-- | src/cpu/o3/decode_impl.hh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cpu/o3/decode_impl.hh b/src/cpu/o3/decode_impl.hh index f87ec0bfa..9ab672931 100644 --- a/src/cpu/o3/decode_impl.hh +++ b/src/cpu/o3/decode_impl.hh @@ -47,6 +47,7 @@ #include "cpu/inst_seq.hh" #include "debug/Activity.hh" #include "debug/Decode.hh" +#include "debug/O3PipeView.hh" #include "params/DerivO3CPU.hh" #include "sim/full_system.hh" @@ -714,7 +715,9 @@ DefaultDecode<Impl>::decodeInsts(ThreadID tid) --insts_available; #if TRACING_ON - inst->decodeTick = curTick() - inst->fetchTick; + if (DTRACE(O3PipeView)) { + inst->decodeTick = curTick() - inst->fetchTick; + } #endif // Ensure that if it was predicted as a branch, it really is a |