| java.lang.Object org.netbeans.lib.profiler.results.BaseCallGraphBuilder org.netbeans.lib.profiler.results.cpu.CPUCallGraphBuilder
Inner Class :static class ThreadInfo | |
Method Summary | |
double[] | calculateThreadActiveTimes(ThreadInfo ti) For the given thread, calculate the following values (not all may be available, depending on the active timers and
the current thread state (inside or outside the profiled call graph):
absolute gross time, thread CPU gross time, time spent in instrumentation code in absolute counts, same time in
thread-local time counts. | public CPUCCTContainer[] | createPresentationCCTs(CPUResultsSnapshot cpuSnapshot) | protected void | doBatchStart() | protected void | doBatchStop() | protected void | doReset() | protected void | doShutdown() | protected void | doStartup(ProfilerClient profilerClient) | protected long[][] | getAllThreadsActiveTimes() For each monitored thread, returns the current absolute and thread-local CPU time. | protected RuntimeCCTNode | getAppRootNode() | public void | methodEntry(int methodId, int threadId, int methodType, long timeStamp0, long timeStamp1) | public void | methodEntryUnstamped(int methodId, int threadId, int methodType) | public void | methodExit(int methodId, int threadId, int methodType, long timeStamp0, long timeStamp1) | public void | methodExitUnstamped(int methodId, int threadId, int methodType) | public void | monitorEntry(int threadId, long timeStamp0, long timeStamp1) | public void | monitorExit(int threadId, long timeStamp0, long timeStamp1) | public void | newThread(int threadId, String threadName, String threadClassName) | public void | servletRequest(int threadId, int requestType, String servletPath, int sessionId) | public void | sleepEntry(int threadId, long timeStamp0, long timeStamp1) | public void | sleepExit(int threadId, long timeStamp0, long timeStamp1) | public void | threadsResume(long timeStamp0, long timeStamp1) | public void | threadsSuspend(long timeStamp0, long timeStamp1) | public void | timeAdjust(int threadId, long timeDiff0, long timeDiff1) | public void | waitEntry(int threadId, long timeStamp0, long timeStamp1) | public void | waitExit(int threadId, long timeStamp0, long timeStamp1) |
calculateThreadActiveTimes | double[] calculateThreadActiveTimes(ThreadInfo ti)(Code) | | For the given thread, calculate the following values (not all may be available, depending on the active timers and
the current thread state (inside or outside the profiled call graph):
absolute gross time, thread CPU gross time, time spent in instrumentation code in absolute counts, same time in
thread-local time counts.
The values are assigned to the relevant fields of cgm parameter (if it's not null), and returned as an array of
doubles.
NOTE THAT setMethodEntryExitTimesGivenCollectedTimeStampsKinds() SHOULD BE CALLED ONCE BEFORE CALLING THIS METHOD!
|
doBatchStart | protected void doBatchStart()(Code) | | |
doBatchStop | protected void doBatchStop()(Code) | | |
doReset | protected void doReset()(Code) | | |
doShutdown | protected void doShutdown()(Code) | | |
getAllThreadsActiveTimes | protected long[][] getAllThreadsActiveTimes()(Code) | | For each monitored thread, returns the current absolute and thread-local CPU time. Returned thread-local time
may be just -1, indicating that it can't be reliably calculated for the given thread (at this moment or at all).
|
methodEntry | public void methodEntry(int methodId, int threadId, int methodType, long timeStamp0, long timeStamp1)(Code) | | |
methodEntryUnstamped | public void methodEntryUnstamped(int methodId, int threadId, int methodType)(Code) | | |
methodExit | public void methodExit(int methodId, int threadId, int methodType, long timeStamp0, long timeStamp1)(Code) | | |
methodExitUnstamped | public void methodExitUnstamped(int methodId, int threadId, int methodType)(Code) | | |
monitorEntry | public void monitorEntry(int threadId, long timeStamp0, long timeStamp1)(Code) | | |
monitorExit | public void monitorExit(int threadId, long timeStamp0, long timeStamp1)(Code) | | |
newThread | public void newThread(int threadId, String threadName, String threadClassName)(Code) | | |
servletRequest | public void servletRequest(int threadId, int requestType, String servletPath, int sessionId)(Code) | | |
sleepEntry | public void sleepEntry(int threadId, long timeStamp0, long timeStamp1)(Code) | | |
sleepExit | public void sleepExit(int threadId, long timeStamp0, long timeStamp1)(Code) | | |
threadsResume | public void threadsResume(long timeStamp0, long timeStamp1)(Code) | | |
threadsSuspend | public void threadsSuspend(long timeStamp0, long timeStamp1)(Code) | | |
timeAdjust | public void timeAdjust(int threadId, long timeDiff0, long timeDiff1)(Code) | | Called when the TA is suspended waiting for the tool to process the buffer
|
waitEntry | public void waitEntry(int threadId, long timeStamp0, long timeStamp1)(Code) | | |
waitExit | public void waitExit(int threadId, long timeStamp0, long timeStamp1)(Code) | | |
|
|