public class LinuxPerfAsmProfiler extends AbstractPerfAsmProfiler
AbstractPerfAsmProfiler.PerfEventshsLog, perfBinData, perfParsedData, tracedEvents| Constructor and Description |
|---|
LinuxPerfAsmProfiler() |
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
addJVMInvokeOptions(BenchmarkParams params)
Prepend JVM invocation with these commands.
|
boolean |
checkSupport(List<String> msgs)
Check the support for a given profiler.
|
String |
getDescription()
Human-readable one-line description of the profiler.
|
String |
label()
Unique label for the profiler.
|
protected void |
parseEvents()
Parse profiler events from binary to text form.
|
protected String |
perfBinaryExtension()
Get perf binary data extension (optional).
|
protected AbstractPerfAsmProfiler.PerfEvents |
readEvents(double skipSec)
Read parsed events.
|
addJVMOptions, afterTrial, allowPrintErr, allowPrintOut, beforeTrialpublic LinuxPerfAsmProfiler()
throws IOException
IOExceptionpublic boolean checkSupport(List<String> msgs)
ProfilercheckSupport in interface ProfilercheckSupport in class AbstractPerfAsmProfilermsgs - where to put the diagnostic messagespublic Collection<String> addJVMInvokeOptions(BenchmarkParams params)
ExternalProfilerparams - benchmark parameters used for current launchpublic String label()
Profilerpublic String getDescription()
Profilerprotected void parseEvents()
AbstractPerfAsmProfilerparseEvents in class AbstractPerfAsmProfilerprotected AbstractPerfAsmProfiler.PerfEvents readEvents(double skipSec)
AbstractPerfAsmProfilerreadEvents in class AbstractPerfAsmProfilerskipSec - Seconds to skip.protected String perfBinaryExtension()
AbstractPerfAsmProfilerperfBinaryExtension in class AbstractPerfAsmProfilerCopyright © 2012-2015 Oracle. All Rights Reserved.