Package com.netcracker.profiler.agent
Class LocalState
java.lang.Object
com.netcracker.profiler.agent.LocalState
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
thread
-
dumperIncarnation
public final int dumperIncarnation -
buffer
-
sp
public int sp -
callInfo
-
shortThreadName
-
stackTrace
public long[] stackTraceContains stack trace of current thread (method ids) paired with time when the method started Basically it is methodId | TimerCache.timerSHL32 -
isSystem
public boolean isSystem -
cpuTime
public long cpuTime -
waitTime
public long waitTime -
memoryUsed
public long memoryUsed -
fileRead
public long fileRead -
fileWritten
public long fileWritten -
netRead
public long netRead -
netWritten
public long netWritten -
transactions
public long transactions -
nextCpuStamp
public int nextCpuStamp -
nextWaitStamp
public int nextWaitStamp -
nextMemoryStamp
public int nextMemoryStamp -
additional
-
-
Constructor Details
-
LocalState
public LocalState()
-
-
Method Details
-
enter
public void enter(int methodId) -
enter
public void enter(int methodId, long millisecondsPassed) -
enter
public void enter(long methodAndTime) -
exit
public void exit() -
event
-
reserveLargeEventVolume
public boolean reserveLargeEventVolume(long volume) Attempts to reserve a specified volume for large event data collection. If the total thread-local volume exceeds a predefined limit, it tries to borrow from a global counter to accommodate the requested volume.- Parameters:
volume- the amount of volume to reserve for large event data- Returns:
- true if the reservation succeeds (either using thread-local space or borrowing from the global counter), false otherwise
-
markSystem
public void markSystem() -
toString
-