class_docstr: PerformanceProfiler to analysis the time profiler.
class_docstr_tok: ["PerformanceProfiler","to","analysis","the","time","profiler","."]
code: def gen_profiler_json(self):
      profiler_json = []
      for i, p_profiler in enumerate(self.pipes_profiler):
          profiler_json += p_profiler.gen_profiler_json(i)
      return profiler_json
  
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 11 for calling the PerformanceProfiler obj's underlying member method code with example usage: obj.gen_profiler_json() and returns: profiler_json