class_docstr: A timer class that supports multiple named timers.
  A named timer can be used multiple times, in which case the average
  dt will be returned.
  A named timer cannot be started if it is already currently running.
  Use case: measuring execution of multiple code blocks.
docstr: Stops measuring a named timer.
  
  Args:
      name (str): timer name to stop
docstr_tok: ["Stops","measuring","a","named","timer",".","Args",":","name","(","str",")",":","timer","name","to","stop"]
code: def stop(self, name=""):
      """
      Stops measuring a named timer.
  
      Args:
          name (str): timer name to stop
      """
      timer_data = self.timers.get(name, None)
      if (timer_data is None) or ("start" not in timer_data):
          raise RuntimeError(
              f"Cannot end timer = '{name}' since it is not active"
          )
  
      # synchronize pytorch cuda execution if supported
      if self._sync_cuda and torch.cuda.is_initialized():
          torch.cuda.synchronize()
  
      # compute dt and make timer inactive
      dt = time.time() - timer_data.pop("start")
  
      # store dt
      timer_data["dt"] = timer_data.get("dt", []) + [dt]
  
      # enforce buffer_size if positive
      if self._buffer_size > 0:
          timer_data["dt"] = timer_data["dt"][-self._buffer_size :]
  
      self.timers[name] = timer_data
  
file_path: NeMo/nemo/utils/timers.py
imports: import time
  import numpy
  import torch
label_desc: Use image node_id 7 for calling the NamedTimer obj's underlying member method code with example usage: obj.stop(name) without return types