diff options
author | Andreas Sandberg <andreas.sandberg@arm.com> | 2018-05-02 14:04:04 +0100 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2018-07-13 09:26:23 +0000 |
commit | 672953ef43f8559bd1ac1f8cb5dba9b997ca0ec9 (patch) | |
tree | c9d437f34d46b43e35baf340efe95aed5d5badbe /src/dev/baddev.hh | |
parent | 102027ee2ed50dcadf93b31ef2e7e485b61cc504 (diff) | |
download | gem5-672953ef43f8559bd1ac1f8cb5dba9b997ca0ec9.tar.xz |
cpu: Support trace termination in BaseTrafficGen
Make the BaseTrafficGen handle cases where getNextPacket() can't find
a new packet and returns NULL. In that case, assume the generator has
run out of packets and switch to the next generator.
Change-Id: I5ca6ead550005812fb849ed9ce6b5007a65ddfa7
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/11517
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'src/dev/baddev.hh')
0 files changed, 0 insertions, 0 deletions