class_docstr: Compile and run a given profiler executable.
class_docstr_tok: ["Compile","and","run","a","given","profiler","executable","."]
docstr: Compile all profiler executables.
docstr_tok: ["Compile","all","profiler","executables","."]
code: def compile_all(self, ops, use_multiprocessing=False):
      """Compile all profiler executables."""
      if use_multiprocessing:
          pool = multiprocessing.Pool(multiprocessing.cpu_count())
          pool.map(self._compile, ops)
      else:
          for op in ops:
              self._compile(op)
  
imports: import logging
  import os
  import re
  import tempfile
  import subprocess
  import multiprocessing
  import tvm._ffi
  from tvm.tir import IntImm
  from tvm.runtime import Object
  from .None import _ffi_api
  from .library import MathInstruction, DataType, DataTypeTag, OpcodeClass, MathOperation, TileDescription, EpilogueFunctor
  from .gemm_operation import instantiate_gemm_template
  from .conv2d_operation import instantiate_conv2d_template
label_desc: Use image node_id 3 for calling the ProfilerEngine obj's underlying member method code with example usage: obj.compile_all(ops, use_multiprocessing) without return types