class_docstr: Simple object for managing the waiting time of a job
  
  Parameters
  ----------
  min_sleep: float
      minimum sleep time
  max_sleep: float
      maximum sleep time
  averaging_size: int
      size for averaging the registered durations
class_docstr_tok: ["Simple","object","for","managing","the","waiting","time","of","a","job","Parameters","--","--","--","--","--","min_sleep",":","float","minimum","sleep","time","max_sleep",":","float","maximum","sleep","time","averaging_size",":","int","size","for","averaging","the","registered","durations"]
code: def stop_timer(self) -> None:
      if self._start is None:
          warnings.warn(
              "Ignoring since timer was stopped before starting."
          )
          return
      self._queue.append(time.time() - self._start)
      self._start = None
  
imports: import os
  import site
  import glob
  import ctypes
  import time
  import inspect
  import warnings
  import itertools
  import contextlib
  import collections
  import typing
  import numpy
  from nevergrad.common import sphere
label_desc: Use image node_id 3 for calling the Sleeper obj's underlying member method code with example usage: obj.stop_timer() without return types