diff options
author | Radhika Jagtap <radhika.jagtap@arm.com> | 2016-09-15 18:01:16 +0100 |
---|---|---|
committer | Radhika Jagtap <radhika.jagtap@arm.com> | 2016-09-15 18:01:16 +0100 |
commit | d067327fc0c1a67ad2d456840e83db7b593b94a0 (patch) | |
tree | 693f455704b384e6215fde31ef15195466751936 /src/cpu/thread_state.cc | |
parent | d7724d5f542b3ffcb1de05bc2960c820c7b96c85 (diff) | |
download | gem5-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