diff options
author | Andreas Sandberg <andreas@sandberg.pp.se> | 2013-03-12 18:41:29 +0100 |
---|---|---|
committer | Andreas Sandberg <andreas@sandberg.pp.se> | 2013-03-12 18:41:29 +0100 |
commit | fc6f569d94fe35a8c9a833e64dd82d6978dfb1cf (patch) | |
tree | 7580d9f5151676525033d91804af876038ec8a98 /src/cpu/testers/memtest | |
parent | 53a05978054ac9bb718e419a48371bd10c720267 (diff) | |
download | gem5-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 'src/cpu/testers/memtest')
0 files changed, 0 insertions, 0 deletions