Modifier and Type | Method and Description |
---|---|
long |
getAffinityMask()
Gets the cpu affinitization mask that has been applied for the thread.
|
String |
getAffinityString()
Gets the cpu affinitization that has been applied for the thread.
|
Thread |
getThread()
Gets the thread corresponding to these stats.
|
long |
getWaitCount()
Returns the amount of recorded wait calls that the thread has made.
|
long |
getWaitTime()
Returns the amount of time in nanoseconds that the thread has spent in recorded wait calls.
|
void |
postWait()
Called by a thread to record its exit from waiting.
|
void |
preWait()
Called by a thread to mark that it is entering into wait.
|
public final void preWait()
This allows the calculation of the time the thread has spent waiting rather than doing actual work.
public final void postWait()
public final Thread getThread()
public final String getAffinityString()
UtlThread.parseAffinityMask(String)
public final long getAffinityMask()
public long getWaitTime()
public long getWaitCount()
Copyright © 2019 Neeve Research, LLC. All Rights Reserved.