| java.lang.Object org.netbeans.lib.profiler.server.ProfilerRuntime org.netbeans.lib.profiler.server.ProfilerRuntimeCPU
All known Subclasses: org.netbeans.lib.profiler.server.ProfilerRuntimeCPUFullInstr, org.netbeans.lib.profiler.server.ProfilerRuntimeCPUSampledInstr,
ProfilerRuntimeCPU | public class ProfilerRuntimeCPU extends ProfilerRuntime (Code) | | This class contains the functionality that is common for all CPU profiling methods available in JFluid.
author: Tomas Hurka author: Misha Dmitriev |
Method Summary | |
protected static void | clearDataStructures() | protected static void | copyLocalBuffer(ThreadInfo ti) | public static void | createThreadInfoForCurrentThread() | protected static long | currentTimeInCounts() | protected static void | enableProfiling(boolean v) | public static long | getAbsTimeStampInCollectedFormat() | public static void | handleJavaLangReflectMethodInvoke(Method method) | public static void | handleServletDoMethod(Object request) | protected static void | monitorEntryCPU(Thread t, Object monitor) | protected static void | monitorExitCPU(Thread t, Object monitor) | public static void | resetProfilerCollectors() | public static void | resumeCurrentThreadTimer() | public static void | setInstrMethodsInvoked(boolean[] methodInvoked) | public static void | setJavaLangReflectMethodInvokeInterceptEnabled(boolean v) | public static void | setNProfiledThreadsLimit(int num) | public static void | setTimerTypes(boolean absolute, boolean threadCPU) | protected static void | sleepEntryCPU() | protected static void | sleepExitCPU() | public static ThreadInfo | suspendCurrentThreadTimer() | protected static void | waitEntryCPU() | protected static void | waitExitCPU() | static void | writeAdjustTimeEvent(ThreadInfo ti, long absTimeStamp, long threadTimeStamp) | static void | writeServletDoMethod(ThreadInfo ti, String method, String servletPath, String sessionId) | static void | writeThreadCreationEvent(ThreadInfo ti) | static void | writeTimeStampedEvent(byte eventType, ThreadInfo ti, char methodId) | static void | writeWaitTimeEvent(byte eventType, ThreadInfo ti) |
absoluteTimerOn | protected static boolean absoluteTimerOn(Code) | | |
instrMethodInvoked | protected static boolean[] instrMethodInvoked(Code) | | |
nProfiledThreadsAllowed | protected static int nProfiledThreadsAllowed(Code) | | |
recursiveInstrumentationDisabled | protected static volatile boolean recursiveInstrumentationDisabled(Code) | | |
threadCPUTimerOn | protected static boolean threadCPUTimerOn(Code) | | |
clearDataStructures | protected static void clearDataStructures()(Code) | | |
createThreadInfoForCurrentThread | public static void createThreadInfoForCurrentThread()(Code) | | |
currentTimeInCounts | protected static long currentTimeInCounts()(Code) | | |
enableProfiling | protected static void enableProfiling(boolean v)(Code) | | |
getAbsTimeStampInCollectedFormat | public static long getAbsTimeStampInCollectedFormat()(Code) | | |
handleJavaLangReflectMethodInvoke | public static void handleJavaLangReflectMethodInvoke(Method method)(Code) | | |
handleServletDoMethod | public static void handleServletDoMethod(Object request)(Code) | | |
resetProfilerCollectors | public static void resetProfilerCollectors()(Code) | | |
resumeCurrentThreadTimer | public static void resumeCurrentThreadTimer()(Code) | | |
setInstrMethodsInvoked | public static void setInstrMethodsInvoked(boolean[] methodInvoked)(Code) | | |
setJavaLangReflectMethodInvokeInterceptEnabled | public static void setJavaLangReflectMethodInvokeInterceptEnabled(boolean v)(Code) | | |
setNProfiledThreadsLimit | public static void setNProfiledThreadsLimit(int num)(Code) | | |
setTimerTypes | public static void setTimerTypes(boolean absolute, boolean threadCPU)(Code) | | |
sleepEntryCPU | protected static void sleepEntryCPU()(Code) | | |
sleepExitCPU | protected static void sleepExitCPU()(Code) | | |
suspendCurrentThreadTimer | public static ThreadInfo suspendCurrentThreadTimer()(Code) | | |
waitEntryCPU | protected static void waitEntryCPU()(Code) | | |
waitExitCPU | protected static void waitExitCPU()(Code) | | |
writeAdjustTimeEvent | static void writeAdjustTimeEvent(ThreadInfo ti, long absTimeStamp, long threadTimeStamp)(Code) | | |
writeThreadCreationEvent | static void writeThreadCreationEvent(ThreadInfo ti)(Code) | | |
writeTimeStampedEvent | static void writeTimeStampedEvent(byte eventType, ThreadInfo ti, char methodId)(Code) | | |
writeWaitTimeEvent | static void writeWaitTimeEvent(byte eventType, ThreadInfo ti)(Code) | | |
|
|