@contextmanager
  def Measure(self, name):
    start_time = time.time()
    yield
    stop_time = time.time()
    self.intervals.append((name, start_time, stop_time))
Records the start and stop times of the enclosed interval.
dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/timing_util.py/IntervalTimer.Measure