public interface ThreadProfiler
| Modifier and Type | Method and Description |
|---|---|
long |
getThreadCpuTime(long threadId)
Return the number of nanoseconds of CPU time used by the thread with the
given id.
|
long |
getThreadWaitTime(long threadId)
Return the number of nanoseconds of waiting time used by the thread with
the given id.
|
long getThreadCpuTime(long threadId)
threadId - id of the target threadlong getThreadWaitTime(long threadId)
threadId - id of the target thread