-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.gem5.org/r/1955/
-----------------------------------------------------------

Review request for Default.


Repository: gem5


Description
-------

Changeset 9826:3171372e8b5e
---------------------------
cpu: Fix TrafficGen trace playback

This patch addresses an issue with trace playback in the TrafficGen
where the trace was reset but the header was not read from the trace
when a captured trace was played back for a second time. This resulted
in parsing errors as the expected message was not found in the trace
file.

The header check is moved to an init funtion which is called by the
constructor and when the trace is reset. This ensures that the trace
header is read each time when the trace is replayed.

This patch also addresses a small formatting issue in a panic.


Diffs
-----

  src/cpu/testers/traffic_gen/generators.hh 3b3b94536547 
  src/cpu/testers/traffic_gen/generators.cc 3b3b94536547 

Diff: http://reviews.gem5.org/r/1955/diff/


Testing
-------

Repeated the same trace a few times. All regressions pass.


Thanks,

Andreas Hansson

_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to