Package com.google.apphosting.runtime.timer
-
Interface Summary Interface Description CpuSpeedExtractor CpuSpeedExtractorcan be used to extract the CPU speed of the current machine.Timer Timeris a base interface for various timer implementations provided in this package.TimerSet TimerSetis an abstraction for creating one or moreTimerinstances that are interdependent in some way. -
Class Summary Class Description AbstractIntervalTimer AbstractIntervalTimeris common base class forTimerimplementations that base measure the change in some value between the point where the timer is started and the point where the timer is stopped.AbstractSharedTimerSet AbstractSharedTimerSettracks a single counter that is shared by all of theTimerinstances that are part of the set.CpuRatioTimer CpuRatioTimeris a compositeTimerthat is backed by two otherTimerobjects -- e.g.CpuSpeedExtractorFactory Creates aCpuSpeedExtractorthat can be used to determine the speed of the CPUs on the current machine.JmxGcTimerSet JmxGcTimerSetcreates timers that measures the amount of time spent in garbage collection while the timer was running.JmxHotspotTimerSet JmxHotspotTimerSetcreates timers that measures the amount of time spent in Hotspot compilation while each timer was running.TimerFactory TimerFactorycreates newTimerinstances.