Package com.netcracker.profiler.agent
Class TimerCache
java.lang.Object
java.lang.Thread
com.netcracker.profiler.agent.TimerCache
- All Implemented Interfaces:
Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TimerCachestatic intstatic intstatic final intstatic final intstatic longstatic longstatic final longstatic final intstatic final long[]static final int[]static intstatic longstatic intFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield
-
Field Details
-
instance
-
startTime
public static volatile long startTime -
startTimeNano
public static final long startTimeNano -
now
public static volatile long now -
timer
public static volatile int timer -
timerSHL32
public static volatile long timerSHL32 -
timerWithoutSuspend
public static volatile int timerWithoutSuspend -
SUSPEND_LOG_SIZE
public static final int SUSPEND_LOG_SIZE -
MAX_TIMER_PAUSE
public static final int MAX_TIMER_PAUSE -
MINIMAL_SUSPEND_TIME
public static final int MINIMAL_SUSPEND_TIME -
suspendDates
public static final long[] suspendDates -
suspendDurations
public static final int[] suspendDurations -
lastSuspendEvent
public static volatile int lastSuspendEvent -
lastLoggedEvent
public static volatile int lastLoggedEvent
-
-
Constructor Details
-
TimerCache
public TimerCache()
-
-
Method Details
-
run
public void run() -
main
- Throws:
InterruptedException
-