| java.lang.Object org.netbeans.lib.profiler.server.ProfilerRuntime org.netbeans.lib.profiler.server.ProfilerCalibrator
ProfilerCalibrator | class ProfilerCalibrator extends ProfilerRuntime (Code) | | Functionality that allows one to measure in advance the time that standard instrumentation takes.
These values can then be subtracted from the rough profiling results, giving measurements that are
much more close to reality.
author: Misha Dmitriev author: Ian Formanek |
Method Summary | |
static InternalStatsResponse | getInternalStats() | public static void | init(ProfilingSessionStatus status) | public static void | main(String[] args) Main method is called in two cases:
- when the user wants to perform calibration and save results on the machine where the tool is not installed,
so that later remote profiling can be performed on this machine. | public static void | measureBCIOverhead(boolean printRes) In addition to calculating and optionally printing some measurements of the overhead imposed by BCI, this
call, I hope, makes the impact of BCI on the target application more uniform/predictable, since it causes
the VM to precompile various profiling calls. | static void | resetInternalStatsCollectors() |
main | public static void main(String[] args)(Code) | | Main method is called in two cases:
- when the user wants to perform calibration and save results on the machine where the tool is not installed,
so that later remote profiling can be performed on this machine. No command line args are needed.
- a backdoor usage when JF developers want to see calibration data, tune the internals etc. In that case,
a special command line argument -develmode should be provided.
|
measureBCIOverhead | public static void measureBCIOverhead(boolean printRes)(Code) | | In addition to calculating and optionally printing some measurements of the overhead imposed by BCI, this
call, I hope, makes the impact of BCI on the target application more uniform/predictable, since it causes
the VM to precompile various profiling calls.
|
resetInternalStatsCollectors | static void resetInternalStatsCollectors()(Code) | | |
|
|