code: def record(self, category, extra_time=0, disable_log=False):
      e = self.elapsed()
  
      self.add_time_to_record(
          self.base_category + category, e + extra_time
      )
  
      self.total += e + extra_time
  
      if self.print_log and not disable_log:
          print(
              f"{'  ' * self.subcategory_level}{category}: done in {e + extra_time:.3f}s"
          )
  
file_path: stable-diffusion-webui/modules/timer.py
imports: import time
  import argparse
label_desc: Use image node_id 4 for calling the Timer obj's underlying member method code with example usage: obj.record(category, extra_time, disable_log) without return types