summaryrefslogtreecommitdiff
path: root/src/cpu/testers/traffic_gen/TrafficGen.py
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2013-05-30 12:54:05 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2013-05-30 12:54:05 -0400
commit4931414ca79b97ee64a958c4dd4ed1cafc44b4bd (patch)
treed906914433751bd435e53888e7a8a9aa63b43b5f /src/cpu/testers/traffic_gen/TrafficGen.py
parentc9c35da9343a763385f8c4680ff9b667be224e1d (diff)
downloadgem5-4931414ca79b97ee64a958c4dd4ed1cafc44b4bd.tar.xz
cpu: Block traffic generator when requests have to retry
This patch changes the queued port for a conventional master port and stalls the traffic generator when requests are not immediately accepted. This is a first step to allowing elasticity in the injection of requests. The patch also adds stats for the sent packets and retries, and slightly changes how the nextPacketTick and getNextPacket interact. The advancing of the trace is now moved to getNextPacket and nextPacketTick is only responsible for answering the question when the next packet should be sent.
Diffstat (limited to 'src/cpu/testers/traffic_gen/TrafficGen.py')
0 files changed, 0 insertions, 0 deletions