ExternalProfiler
, Profiler
public class LinuxPerfAsmProfiler extends AbstractPerfAsmProfiler
AbstractPerfAsmProfiler.PerfEvents
events, hsLog, perfBinData, perfParsedData, set
Constructor | Description |
---|---|
LinuxPerfAsmProfiler(String initLine) |
Modifier and Type | Method | Description |
---|---|---|
Collection<String> |
addJVMInvokeOptions(BenchmarkParams params) |
Prepend JVM invocation with these commands.
|
protected void |
addMyOptions(joptsimple.OptionParser parser) |
|
String |
getDescription() |
Human-readable one-line description of 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 skipMs,
double lenMs) |
Read parsed events.
|
addJVMOptions, afterTrial, allowPrintErr, allowPrintOut, beforeTrial
public LinuxPerfAsmProfiler(String initLine) throws ProfilerException
ProfilerException
protected void addMyOptions(joptsimple.OptionParser parser)
addMyOptions
in class AbstractPerfAsmProfiler
public Collection<String> addJVMInvokeOptions(BenchmarkParams params)
ExternalProfiler
params
- benchmark parameters used for current launchpublic String getDescription()
Profiler
protected void parseEvents()
AbstractPerfAsmProfiler
parseEvents
in class AbstractPerfAsmProfiler
protected AbstractPerfAsmProfiler.PerfEvents readEvents(double skipMs, double lenMs)
AbstractPerfAsmProfiler
readEvents
in class AbstractPerfAsmProfiler
skipMs
- Milliseconds to skip.lenMs
- Milliseconds to capture after skipprotected String perfBinaryExtension()
AbstractPerfAsmProfiler
perfBinaryExtension
in class AbstractPerfAsmProfiler
Copyright © 2012-2016 Oracle. All Rights Reserved.