diff options
author | Sascha Bischoff <sascha.bischoff@arm.com> | 2013-05-30 12:54:07 -0400 |
---|---|---|
committer | Sascha Bischoff <sascha.bischoff@arm.com> | 2013-05-30 12:54:07 -0400 |
commit | 04ccc79134d7752b97a36cb922d56c9d450983f9 (patch) | |
tree | 3594e546bdeec2cf809321fe24d72d44e58ff6bf /src/sim/fault_fwd.hh | |
parent | fc09bc8678b5e78d553e009105c58e5c5d5befb4 (diff) | |
download | gem5-04ccc79134d7752b97a36cb922d56c9d450983f9.tar.xz |
cpu: Fix bug when reading in TrafficGen state transitions
This patch fixes a bug with the traffic generator which occured when
reading in the state transitions from the configuration
file. Previously, the size of the vector which stored the transitions
was used to get the size of the transitions matrix, rather than using
the number of states. Therefore, if there were more transitions than
states, i.e. some transitions has a probability of less than 1, then
the traffic generator would fatal when trying to check the
transitions.
This issue has been addressed by using the number of input states,
rather then the number of transitions.
Diffstat (limited to 'src/sim/fault_fwd.hh')
0 files changed, 0 insertions, 0 deletions