class_docstr: Profile reader to read paddle profile files, support for frontend api in lib.py.
      
class_docstr_tok: ["Profile","reader","to","read","paddle","profile","files",",","support","for","frontend","api","in","lib.py","."]
code: def _get_data_from_queue(self):
      while True:
          try:
              (
                  run,
                  filename,
                  worker_name,
                  profile_result,
              ) = self.profile_result_queue.get()
              self.run_managers[run].add_profile_result(
                  filename, worker_name, profile_result
              )
          except Exception as e:
              print(
                  "Read profiler data error in multiprocess, error: {}".format(
                      e
                  )
              )
  
imports: import os
  import re
  from multiprocessing import Process
  from multiprocessing import Queue
  from threading import Lock
  from threading import Thread
  import packaging.version
  from .parser.const_description import *
  from .parser.event_node import load_profiler_json
  from .parser.event_node import ProfilerResult
  from .parser.utils import RedirectStdStreams
  from .run_manager import RunManager
  from visualdl.io import bfile
label_desc: Use image node_id 12 for calling the ProfilerReader obj's underlying member method code with example usage: obj._get_data_from_queue() without return types