code: def __init__(self, print_log=False):
      self.start = time.time()
      self.records = {}
      self.total = 0
      self.base_category = ""
      self.print_log = print_log
      self.subcategory_level = 0
  
file_path: stable-diffusion-webui/modules/timer.py
imports: import time
  import argparse
label_desc: Use image node_id 1 to create a new Timer object  with example: obj = Timer(print_log)