org.openjdk.jmh.profile

Class AbstractPerfAsmProfiler

    • Field Detail

      • tracedEvents

        protected final String[] tracedEvents
      • perfBinData

        protected String perfBinData
      • perfParsedData

        protected String perfParsedData
    • Method Detail

      • checkSupport

        public abstract boolean checkSupport(List<String> msgs)
        Description copied from interface: Profiler
        Check the support for a given profiler.
        Specified by:
        checkSupport in interface Profiler
        Parameters:
        msgs - where to put the diagnostic messages
        Returns:
        true, if suppported
      • beforeTrial

        public void beforeTrial(BenchmarkParams params)
        Description copied from interface: ExternalProfiler
        Run this code before starting the trial. This method will execute before starting the benchmark JVM.
        Specified by:
        beforeTrial in interface ExternalProfiler
        Parameters:
        params - benchmark parameters used for current launch
      • afterTrial

        public Collection<? extends Result> afterTrial(BenchmarkResult br,                                      long pid,                                      File stdOut,                                      File stdErr)
        Description copied from interface: ExternalProfiler
        Run this code after the trial is done. This method will execute after benchmark JVM had stopped.
        Specified by:
        afterTrial in interface ExternalProfiler
        Parameters:
        br - benchmark result that was the result of the trial
        stdOut - file containing the standard output from the benchmark JVM
        stdErr - file containing the standard error from the benchmark JVM
        Returns:
        profiler results
      • allowPrintOut

        public boolean allowPrintOut()
        Description copied from interface: ExternalProfiler
        If target VM communicates with profiler with standard output, this method can be used to shun the output to console. Profiler is responsible for consuming the standard output and printing the relevant data from there.
        Specified by:
        allowPrintOut in interface ExternalProfiler
        Returns:
        returns true, if profiler allows harness to print out the standard output
      • allowPrintErr

        public boolean allowPrintErr()
        Description copied from interface: ExternalProfiler
        If target VM communicates with profiler with standard error, this method can be used to shun the output to console. Profiler is responsible for consuming the standard error and printing the relevant data from there.
        Specified by:
        allowPrintErr in interface ExternalProfiler
        Returns:
        returns true, if profiler allows harness to print out the standard errpr
      • parseEvents

        protected abstract void parseEvents()
        Parse profiler events from binary to text form.
      • perfBinaryExtension

        protected abstract String perfBinaryExtension()
        Get perf binary data extension (optional).
        Returns:
        Extension.

Copyright © 2012-2015 Oracle. All Rights Reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14