Lines Matching refs:governor
795 def __init__(self, disable_aslr = False, governor = None):
799 self.governor = governor
805 if self.governor != None:
807 CustomMachineConfiguration.SetCPUGovernor(self.governor)
872 raise Exception('CPU cores have differing governor settings')
875 logging.exception('Failed to get the current CPU governor. Is the CPU '
876 'governor disabled? Check BIOS.')
889 logging.exception('Failed to change CPU governor to %s. Are we '
895 raise Exception('Could not set CPU governor. Present value is %s'
947 parser.add_argument('--cpu-governor',
948 help='Set cpu governor to specified policy for the '
1046 with CustomMachineConfiguration(governor = args.cpu_governor,