Class AsyncProfiler.JavaApi

java.lang.Object
org.openjdk.jmh.profile.AsyncProfiler.JavaApi
Enclosing class:
AsyncProfiler

public static final class AsyncProfiler.JavaApi extends Object
  • Method Details

    • getInstance

      public static AsyncProfiler.JavaApi getInstance(String libraryFileName)
    • getInstance

      public static AsyncProfiler.JavaApi getInstance()
    • execute

      public String execute(String command) throws IOException
      Throws:
      IOException
    • filterThread

      public void filterThread(Thread thread, boolean enable)
      Enable or disable profile collection for threads.
      Parameters:
      thread - The thread to enable or disable. null indicates the current thread.
      enable - Whether to enable or disable.