code: def record_time(self, name: str):
      if name not in self.times:
          self.times[name] = {}
  
      timer = Timer(self, name, len(self.times[name]))
      self.times[name][timer.idx] = timer
      timer.start()
  
      return timer
  
file_path: labml/client/labml/internal/monitor/time_recorder.py
imports: import time
  from typing import NamedTuple
  import numpy
label_desc: Use image node_id 2 for calling the TimeRecorder obj's underlying member method code with example usage: obj.record_time(name) and returns: timer