Class VTuneProfiler

java.lang.Object
dev.ludovic.netlib.profiler.VTuneProfiler
All Implemented Interfaces:
org.openjdk.jmh.profile.ExternalProfiler, org.openjdk.jmh.profile.Profiler

public final class VTuneProfiler extends Object implements org.openjdk.jmh.profile.ExternalProfiler
  • Field Details

    • collect

      protected final String collect
    • perfBinData

      protected final Path perfBinData
  • Constructor Details

    • VTuneProfiler

      public VTuneProfiler()
    • VTuneProfiler

      public VTuneProfiler(String initParams) throws org.openjdk.jmh.profile.ProfilerException
      Throws:
      org.openjdk.jmh.profile.ProfilerException
  • Method Details

    • addJVMInvokeOptions

      public Collection<String> addJVMInvokeOptions(org.openjdk.jmh.infra.BenchmarkParams params)
      Specified by:
      addJVMInvokeOptions in interface org.openjdk.jmh.profile.ExternalProfiler
    • addJVMOptions

      public Collection<String> addJVMOptions(org.openjdk.jmh.infra.BenchmarkParams params)
      Specified by:
      addJVMOptions in interface org.openjdk.jmh.profile.ExternalProfiler
    • beforeTrial

      public void beforeTrial(org.openjdk.jmh.infra.BenchmarkParams params)
      Specified by:
      beforeTrial in interface org.openjdk.jmh.profile.ExternalProfiler
    • afterTrial

      public Collection<? extends org.openjdk.jmh.results.Result> afterTrial(org.openjdk.jmh.results.BenchmarkResult br, long pid, File stdOut, File stdErr)
      Specified by:
      afterTrial in interface org.openjdk.jmh.profile.ExternalProfiler
    • allowPrintOut

      public boolean allowPrintOut()
      Specified by:
      allowPrintOut in interface org.openjdk.jmh.profile.ExternalProfiler
    • allowPrintErr

      public boolean allowPrintErr()
      Specified by:
      allowPrintErr in interface org.openjdk.jmh.profile.ExternalProfiler
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface org.openjdk.jmh.profile.Profiler