code: def __init__(self):
      try:
          self.timer = time.perf_counter
      except AttributeError:
          self.timer = time.time
  
imports: import glob
  import os
  import sys
  import carla
  import argparse
  import random
  import time
  import numpy
label_desc: Use image node_id 1 to create a new CustomTimer object  with example: obj = CustomTimer()