public class YourKitContext extends Object
YourKitProfiler
.Modifier and Type | Method and Description |
---|---|
void |
snapshotCPUOnly(org.apache.hadoop.mapreduce.Mapper.Context context,
String name)
Capture snapshot with all recorded data except for heap dump.
|
void |
snapshotCPUOnly(String destPath)
Capture snapshot with all recorded data except for heap dump.
|
void |
snapshotWithMemory(org.apache.hadoop.mapreduce.Mapper.Context context,
String name)
Capture snapshot with all recorded data including heap dump.
|
void |
snapshotWithMemory(String destPath)
Capture snapshot with all recorded data including heap dump.
|
void |
stop()
Stop recording
|
public void snapshotWithMemory(String destPath)
destPath
- path to store snapshot filepublic void snapshotWithMemory(org.apache.hadoop.mapreduce.Mapper.Context context, String name)
context
- contextname
- snapshot file namepublic void snapshotCPUOnly(String destPath)
destPath
- path to store snapshot filepublic void snapshotCPUOnly(org.apache.hadoop.mapreduce.Mapper.Context context, String name)
context
- contextname
- snapshot file namepublic void stop()
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.