Review Board 2.0.15


Add seed option to ruby_random_test.py

Review Request #361 - Created Dec. 22, 2010 and submitted

Information
Nilay Vaish
gem5
Reviewers
Default
This patch adds an option to the script ruby_random_test.py for setting the parameter m_random_seed used for randomizing delays in the memory system.
The number of cycles required for executing a particular number of loads changes with different seeds.
Review request changed
Updated (Jan. 3, 2011, 1:54 a.m.)

Change Summary:

Brad, I was waiting for you to comment on where you would prefer this option to go. I have made the change. I did some minimal testing using ruby_random_test.py. The number of ticks for a fixed number of loads change when I supply different numbers as random seeds.

Diff:

Revision 3 (+5 -1)

Show changes

Ship it!
Posted (Jan. 3, 2011, 2:10 a.m.)
Thanks for moving it to Ruby.py.  Looks good to me.