code: def elapse_time(start, end=None, precision=3):
      
      if end is None:
          end = time_module.time()
      return round(end-start, precision)
docs: Simple time calculation utility.   Given a start time, it will provide an elapse time.