code: def time_log(tag):
      stack = Performance.timeSentinel
      if len(stack) == 0 or not stack[-1][0] == tag:
          stack.append((tag, time.time()))
          print(
              "[Time] "
              + tag
              + " start: "
              + str(time.strftime("%Y%m%d-%H:%M:%S"))
          )
      else:
          e = stack.pop()
          print("[Time] " + tag + ": " + str(time.time() - e[1]) + " s")
  
label_desc: Use image node_id 1 for calling the Performance obj's underlying member method code with example usage: obj.time_log(tag) without return types