class_docstr: Timer class.
  
  `Original code <https://github.com/miguelgfierro/pybase/blob/2298172a13fb4a243754acbc6029a4a2dcf72c20/log_base/timer.py>`_.
  
  Examples:
      >>> import time
      >>> t = Timer()
      >>> t.start()
      >>> time.sleep(1)
      >>> t.stop()
      >>> t.interval < 1
      True
      >>> with Timer() as t:
      ...   time.sleep(1)
      >>> t.interval < 1
      True
      >>> "Time elapsed {}".format(t) #doctest: +ELLIPSIS
      'Time elapsed 1...'
code: def __enter__(self):
      self.start()
      return self
  
file_path: recommenders/recommenders/utils/timer.py
imports: from timeit import default_timer
label_desc: Use image node_id 2 for calling the Timer obj's underlying member method code with example usage: obj.__enter__() and returns: self