public class YourKitProfiler extends Object
YourKitContext.stop()
.
See also YourKitContext
.
As of 05/2013 YourKit is not publishing their API jars to Maven, but their
license allows us to do it, so we have setup a repository to do this.
See https://github.com/facebook/sonatype-yourkit for more info.Modifier | Constructor and Description |
---|---|
protected |
YourKitProfiler()
Don't construct, allow inheritance
|
Modifier and Type | Method and Description |
---|---|
static YourKitContext |
startProfile(boolean enableStackTelemetry,
boolean enableCPUProfilling,
boolean enableAllocationRecording)
Create a YourKit controller and do some or all of
Controller.enableExceptionTelemetry()
Controller.startCPUProfiling(long, String, String)
Controller.startAllocationRecording(boolean, int, boolean,
int, boolean, boolean)
based on boolean config options passed as method parameters |
public static YourKitContext startProfile(boolean enableStackTelemetry, boolean enableCPUProfilling, boolean enableAllocationRecording)
Controller.enableExceptionTelemetry()
Controller.startCPUProfiling(long, String, String)
Controller.startAllocationRecording(boolean, int, boolean,
int, boolean, boolean)
based on boolean config options passed as method parametersenableStackTelemetry
- enable stack telementryenableCPUProfilling
- enable CPU profillingenableAllocationRecording
- enable allocation recordingCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.