FMLiveSwitchDiagnosticsRateTimer Class Reference

A rate timer for calculating the frequency of something. More...

Instance Methods

(void) - addTick
 Adds a sample. More...
 
(NSString *) - getStats
 Gets the current stats for this timer. More...
 
(bool) - hasData
 Gets whether this timer has data or not. More...
 
- Instance Methods inherited from FMLiveSwitchDiagnosticsTimer
(void) - destroy
 Destroys this timer and its data. More...
 
(NSString *) - tag
 Gets the tag for this diagnostic timer. More...
 
(FMLiveSwitchManagedStopwatch *) - watch
 Gets the stop watch used in this timer. More...
 

Detailed Description

A rate timer for calculating the frequency of something.

Method Documentation

◆ addTick

- (void) addTick

Adds a sample.

◆ getStats

- (NSString*) getStats

Gets the current stats for this timer.

Implements FMLiveSwitchDiagnosticsTimer.

◆ hasData

- (bool) hasData

Gets whether this timer has data or not.

Implements FMLiveSwitchDiagnosticsTimer.