configs: add option for repeatedly switching back-and-forth between cpu types.
authorAnthony Gutierrez <atgutier@umich.edu>
Wed, 15 Aug 2012 14:38:07 +0000 (10:38 -0400)
committerAnthony Gutierrez <atgutier@umich.edu>
Wed, 15 Aug 2012 14:38:07 +0000 (10:38 -0400)
commit5a648f2074caad8aee97e03f27e8eecc527a2cba
tree5da2ddba53dfcb1d159ebd5486caa792e54ee749
parent73e9e923d00c6f5df9e79a6c40ecc159894d2bc5
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.
configs/common/Options.py
configs/common/Simulation.py