parameters: (self)
return_statement: return self._power_
docstring: Estimates this slave's computing power for initial perfect balancing.
          Run by a slave.
docstring_summary: Estimates this slave's computing power for initial perfect balancing.
          Run by a slave.
docstring_tokens: Estimates this slave s computing power for initial perfect balancing . Run by a slave .
function: def computing_power(self):
          """
          Estimates this slave's computing power for initial perfect balancing.
          Run by a slave.
          """
          now = time.time()
          if (now - self._last_power_measurement_time >
                  self._power_measure_time_interval):
              self._last_power_measurement_time = now
              with self:
                  bench = DeviceBenchmark(self)
                  bench.initialize(self.device)
                  self._power_ = bench.run()
              self.info("Computing power is %.2f", self._power_)
          return self._power_
function_tokens: def computing_power ( self ) : now = time . time ( ) if ( now - self . _last_power_measurement_time > self . _power_measure_time_interval ) : self . _last_power_measurement_time = now with self : bench = DeviceBenchmark ( self ) bench . initialize ( self . device ) self . _power_ = bench . run ( ) self . info ( "Computing power is %.2f" , self . _power_ ) return self . _power_