summaryrefslogtreecommitdiff
path: root/src/cpu/thread_state.cc
diff options
context:
space:
mode:
authorRadhika Jagtap <radhika.jagtap@arm.com>2016-09-15 18:01:16 +0100
committerRadhika Jagtap <radhika.jagtap@arm.com>2016-09-15 18:01:16 +0100
commitd067327fc0c1a67ad2d456840e83db7b593b94a0 (patch)
tree693f455704b384e6215fde31ef15195466751936 /src/cpu/thread_state.cc
parentd7724d5f542b3ffcb1de05bc2960c820c7b96c85 (diff)
downloadgem5-d067327fc0c1a67ad2d456840e83db7b593b94a0.tar.xz
cpu: Adjust for trace offset and fix stats
This change subtracts the time offset present in the trace from all the event times when nodes and request are sent so that the replay starts immediately when the simulation starts. This makes the stats accurate when the time offset in traces is large, for example when traces are generated in the middle of a workload execution. It also solves the problem of unnecessary DRAM refresh events that would keep occuring during the large time offset before even a single request is replayed into the system. Change-Id: Ie0898842615def867ffd5c219948386d952af7f7 Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Diffstat (limited to 'src/cpu/thread_state.cc')
0 files changed, 0 insertions, 0 deletions