Review Board 2.0.15


configs: add option for repeatedly switching back-and-forth between cpu types.

Review Request #1311 - Created July 17, 2012 and submitted - Latest diff uploaded

Information
Tony Gutierrez
gem5
default
Reviewers
Default
Changeset 9148:a706a3187a5d
---------------------------
configs: add option for repeatedly switching back-and-forth between cpu types.

This patch adds a --repeat-switch option that will enable repeat core
switching at a user defined period (set with --switch-freq option).
currently, a switch can only occur between like CPU types. inorder CPU
switching is not supported.

*note*
this patch simply allows a config that will perform repeat switching, it
does not fix drain/switchout functionality. if you run with repeat switching
you will hit assertion failures and/or your workload with hang or die.
The options added to this config play nicely with the other options.
Ran with repeat switching on with various other options. Simulation
started and ran successfully while switching until an assertion failed
or the workload kernel panicked or hung due to drain/switchout bugs.