Review Board 2.0.15

cpu: Adjust for trace offset and fix stats

Review Request #3615 - Created Aug. 12, 2016 and submitted - Latest diff uploaded

Andreas Sandberg
Changeset 11609:d444c341c00c
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 <>