parameters: (self, measurement_time_s)
docstring: Measure quiescent power draw for the system.
docstring_summary: Measure quiescent power draw for the system.
docstring_tokens: Measure quiescent power draw for the system .
function: def _MeasureQuiescentPower(self, measurement_time_s):
      """Measure quiescent power draw for the system."""
      if (not self._platform.CanMonitorPower() or
          self._platform.CanMeasurePerApplicationPower() or
          not measurement_time_s):
        return
  
      # Only perform quiescent measurement once per run.
      if PowerMetric._quiescent_power_draw_mwh:
        return
  
      self._platform.StartMonitoringPower(self._browser)
      time.sleep(measurement_time_s)
      power_results = self._platform.StopMonitoringPower()
      PowerMetric._quiescent_power_draw_mwh = (
          power_results.get(TOTAL_POWER_LABEL, 0))
function_tokens: def _MeasureQuiescentPower ( self , measurement_time_s ) : if ( not self . _platform . CanMonitorPower ( ) or self . _platform . CanMeasurePerApplicationPower ( ) or not measurement_time_s ) : return # Only perform quiescent measurement once per run. if PowerMetric . _quiescent_power_draw_mwh : return self . _platform . StartMonitoringPower ( self . _browser ) time . sleep ( measurement_time_s ) power_results = self . _platform . StopMonitoringPower ( ) PowerMetric . _quiescent_power_draw_mwh = ( power_results . get ( TOTAL_POWER_LABEL , 0 ) )