code: def print_total_timer():
      """
      Print the content of the global TotalTimer, if it's not empty. This function will automatically get
      called when program exits.
      """
      if len(_TOTAL_TIMER_DATA) == 0:
          return
      for k, v in _TOTAL_TIMER_DATA.items():
          logger.info(
              "Total Time: {} -> {:.2f} sec, {} times, {:.3g} sec/time".format(
                  k, v.sum, v.count, v.average
              )
          )
  
imports: import atexit
  from collections import defaultdict
  from contextlib import contextmanager
  from time import perf_counter
  from .None import logger
  from .stats import StatCounter
label_desc: Use image node_id 3 for calling a global function with example usage: print_total_timer() without return types