Searched hist:9584 (Results 1 - 1 of 1) sorted by relevance

/gem5/src/cpu/testers/traffic_gen/
H A Dtraffic_gen.ccdiff 9584:1a21964b7227 Tue Mar 12 13:41:00 EDT 2013 Andreas Sandberg <andreas@sandberg.pp.se> 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.

Completed in 14 milliseconds