summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas@sandberg.pp.se>2013-03-12 18:41:29 +0100
committerAndreas Sandberg <andreas@sandberg.pp.se>2013-03-12 18:41:29 +0100
commitfc6f569d94fe35a8c9a833e64dd82d6978dfb1cf (patch)
tree7580d9f5151676525033d91804af876038ec8a98 /SConstruct
parent53a05978054ac9bb718e419a48371bd10c720267 (diff)
downloadgem5-fc6f569d94fe35a8c9a833e64dd82d6978dfb1cf.tar.xz
cpu: Fix state transition bug in the traffic generator
The traffic generator used to incorrectly determine the next state in when state 0 had a non-zero probability. Due to the way the next transition was determined, state 0 could never be entered other than as an initial state. This changeset updates the transitition() method to correctly handle such cases and cases where the transition matrix is a 1x1 matrix.
Diffstat (limited to 'SConstruct')
0 files changed, 0 insertions, 0 deletions