parameters: (self)
docstring: Enables all cores for reliable perf profiling.
docstring_summary: Enables all cores for reliable perf profiling.
docstring_tokens: Enables all cores for reliable perf profiling .
function: def SetPerfProfilingMode(self):
      """Enables all cores for reliable perf profiling."""
      self._ForceAllCpusOnline(True)
      self.SetScalingGovernor('performance')
      if not self._AllCpusAreOnline():
        if not self._device.HasRoot():
          raise RuntimeError('Need root to force CPUs online.')
        raise RuntimeError('Failed to force CPUs online.')
function_tokens: def SetPerfProfilingMode ( self ) : self . _ForceAllCpusOnline ( True ) self . SetScalingGovernor ( 'performance' ) if not self . _AllCpusAreOnline ( ) : if not self . _device . HasRoot ( ) : raise RuntimeError ( 'Need root to force CPUs online.' ) raise RuntimeError ( 'Failed to force CPUs online.' )