| java.lang.Object org.netbeans.lib.profiler.server.ProfilerRuntime org.netbeans.lib.profiler.server.ProfilerRuntimeCPU org.netbeans.lib.profiler.server.ProfilerRuntimeCPUSampledInstr
ProfilerRuntimeCPUSampledInstr | public class ProfilerRuntimeCPUSampledInstr extends ProfilerRuntimeCPU (Code) | | This class contains the actual methods for sampled instrumentation recursive CPU profiling, calls to which are injected
into the target application (TA) bytecodes when they are instrumented.
methodEntry: if taking timestamp (in new sampling slot), time is charged to method being left
methodExit: if taking timestamp (in new sampling slot), time is charged to method being exited
author: Tomas Hurka author: Misha Dmitriev |
Inner Class :static class SamplingThread extends Thread | |
samplingInterval | protected static int samplingInterval(Code) | | |
st | protected static SamplingThread st(Code) | | |
clearDataStructures | protected static void clearDataStructures()(Code) | | |
createNewDataStructures | protected static void createNewDataStructures()(Code) | | |
enableProfiling | public static void enableProfiling(boolean v)(Code) | | |
markerMethodEntry | public static void markerMethodEntry(char methodId)(Code) | | Called upon entry into a special root method used for
|
markerMethodExit | public static void markerMethodExit(char methodId)(Code) | | Called upon exit from the marker method.
|
methodEntry | public static void methodEntry(char methodId)(Code) | | Called upon entry into a non-root target application method
|
methodExit | public static void methodExit(char methodId)(Code) | | Called upon exit from the method.
|
rootMethodEntry | public static void rootMethodEntry(char methodId)(Code) | | Called upon entry into a root target application method
|
setSamplingInterval | public static void setSamplingInterval(int v)(Code) | | |
writeCompactEvent | static void writeCompactEvent(ThreadInfo ti, char event)(Code) | | Write a two-byte event, such as unstamped method entry/exit in compact format.
|
writeUnstampedEvent | static void writeUnstampedEvent(byte eventType, ThreadInfo ti, char methodId)(Code) | | Write an unstamped event, such as method entry/exit for a method whose id is > MAX_METHOD_ID_FOR_COMPACT_FORMAT
|
Methods inherited from org.netbeans.lib.profiler.server.ProfilerRuntimeCPU | protected static void clearDataStructures()(Code)(Java Doc) protected static void copyLocalBuffer(ThreadInfo ti)(Code)(Java Doc) public static void createThreadInfoForCurrentThread()(Code)(Java Doc) protected static long currentTimeInCounts()(Code)(Java Doc) protected static void enableProfiling(boolean v)(Code)(Java Doc) public static long getAbsTimeStampInCollectedFormat()(Code)(Java Doc) public static void handleJavaLangReflectMethodInvoke(Method method)(Code)(Java Doc) public static void handleServletDoMethod(Object request)(Code)(Java Doc) protected static void monitorEntryCPU(Thread t, Object monitor)(Code)(Java Doc) protected static void monitorExitCPU(Thread t, Object monitor)(Code)(Java Doc) public static void resetProfilerCollectors()(Code)(Java Doc) public static void resumeCurrentThreadTimer()(Code)(Java Doc) public static void setInstrMethodsInvoked(boolean[] methodInvoked)(Code)(Java Doc) public static void setJavaLangReflectMethodInvokeInterceptEnabled(boolean v)(Code)(Java Doc) public static void setNProfiledThreadsLimit(int num)(Code)(Java Doc) public static void setTimerTypes(boolean absolute, boolean threadCPU)(Code)(Java Doc) protected static void sleepEntryCPU()(Code)(Java Doc) protected static void sleepExitCPU()(Code)(Java Doc) public static ThreadInfo suspendCurrentThreadTimer()(Code)(Java Doc) protected static void waitEntryCPU()(Code)(Java Doc) protected static void waitExitCPU()(Code)(Java Doc) static void writeAdjustTimeEvent(ThreadInfo ti, long absTimeStamp, long threadTimeStamp)(Code)(Java Doc) static void writeServletDoMethod(ThreadInfo ti, String method, String servletPath, String sessionId)(Code)(Java Doc) static void writeThreadCreationEvent(ThreadInfo ti)(Code)(Java Doc) static void writeTimeStampedEvent(byte eventType, ThreadInfo ti, char methodId)(Code)(Java Doc) static void writeWaitTimeEvent(byte eventType, ThreadInfo ti)(Code)(Java Doc)
|
|
|