code: def stopwatch_now():
      
      if six.PY2:
          now = time.time()
      else:
          now = time.monotonic()
      return now
docs: Get a timevalue for interval comparisons
  
      When possible it is a monotonic clock to prevent backwards time issues.