| Package | Description |
|---|---|
| com.google.apphosting.runtime.timer |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractIntervalTimer
AbstractIntervalTimer is common base class for Timer implementations that base measure the change in some value
between the point where the timer is started and the point where
the timer is stopped. |
class |
CpuRatioTimer
CpuRatioTimer is a composite Timer that is backed
by two other Timer objects -- e.g. |
| Modifier and Type | Method and Description |
|---|---|
Timer |
AbstractSharedTimerSet.createTimer() |
Timer |
TimerSet.createTimer()
|
Timer |
TimerFactory.getCpuCycleTimer(Thread thread)
Return a
Timer that counts CPU time for the specified
Thread. |
Timer |
CpuRatioTimer.getCpuUsageTimer()
Returns the underlying CPU usage
Timer. |
Timer |
TimerFactory.getThreadGroupCpuTimer(ThreadGroup threadGroup) |
Timer |
CpuRatioTimer.getWallclockTimer()
Returns the underlying wallclock
Timer. |
Timer |
TimerFactory.getWallclockTimer()
Return a
Timer that counts wallclock time. |
| Constructor and Description |
|---|
CpuRatioTimer(Timer cpuUsageTimer,
Timer wallclockTimer,
CpuSpeedExtractor cpuSpeedExtractor,
Timer[] extraTimers)
Create a new
CpuRatioTimer. |
CpuRatioTimer(Timer cpuUsageTimer,
Timer wallclockTimer,
CpuSpeedExtractor cpuSpeedExtractor,
Timer[] extraTimers)
Create a new
CpuRatioTimer. |
Copyright © 2022. All rights reserved.