cpu: Check that minimum TrafficGen period is less than max period
authorSascha Bischoff <sascha.bischoff@arm.com>
Thu, 30 May 2013 16:54:08 +0000 (12:54 -0400)
committerSascha Bischoff <sascha.bischoff@arm.com>
Thu, 30 May 2013 16:54:08 +0000 (12:54 -0400)
commit6f4be9bd4ca74fa3d20e103fc8316492963c3167
tree740069a4c395beece164867d900a2f7ab671bde1
parent04ccc79134d7752b97a36cb922d56c9d450983f9
cpu: Check that minimum TrafficGen period is less than max period

Add a check which ensures that the minumum period for the LINEAR and
RANDOM traffic generator states is less than or equal to the maximum
period. If the minimum period is greater than the maximum period a
fatal is triggered.
src/cpu/testers/traffic_gen/traffic_gen.cc