class_docstr: PipelineProfiler to trace one pipeline.
class_docstr_tok: ["PipelineProfiler","to","trace","one","pipeline","."]
code: def add_node_tracer(self, name, event, ts):
      ts = int(ts) / 1000000
      if event == Event.pipe_in:
          self.time_in = ts
      elif event == Event.pipe_out:
          self.time_out = ts
          self.set_node_report()
      else:
          self.node_tracer[name][event].append(ts)
  
imports: import json
  from typing import Dict, List
  from tabulate import tabulate
  from copy import deepcopy
  from pathlib import Path
  from towhee.runtime.constants import WindowAllConst
  from towhee.runtime.time_profiler import Event
  from towhee.utils.log import engine_log
label_desc: Use image node_id 2 for calling the PipelineProfiler obj's underlying member method code with example usage: obj.add_node_tracer(name, event, ts) without return types