Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/g/r/grr-HEAD/client/comms.py   grr(Download)
  def ClientMachineIsIdle(self):
    return psutil.get_cpu_percent(0.05) <= 100 * self.IDLE_THRESHOLD
 
  def __del__(self):
    self.nanny_controller.StopNanny()