code: def stop(self, cond=True):
      if cond and self.started:
          self.end_time = time.time()
          self.started = False
          self.count += 1
          if self.count >= self.start_step:
              self.total_elapsed_time += self.end_time - self.start_time
      elif cond and not self.started:
          print("Cannot stop timer without starting ")
          exit(0)
  
file_path: deepspeedexamples/training/bing_bert/timer.py
imports: import time
  import logging
  import psutil
  import torch
label_desc: Use image node_id 3 for calling the ThroughputTimer obj's underlying member method code with example usage: obj.stop(cond) without return types