docs: def timer(module, name, delta, duration_units='milliseconds'):
      """
      Record a timing delta:
      ::
  
          start_time_s = time.time()
          do_some_operation()
          end_time_s = time.time()
          delta_s = end_time_s - start_time_s
          delta_ms = delta_s * 1000
          timer(__name__, 'my_timer', delta_ms)
      """
      timer = get_metric('timers', module, name, Timer(duration_units))
      timer.update(delta)