FMLiveSwitchDiagnosticsTimer Class Reference

The base class for the diagnostic timers. More...

Instance Methods

(void) - destroy
 Destroys this timer and its data. More...
 
(NSString *) - getStats
 Gets a string containing the stats from this timer. More...
 
(bool) - hasData
 Gets if this Timer has data or not. More...
 
(NSString *) - tag
 Gets the tag for this diagnostic timer. More...
 
(FMLiveSwitchManagedStopwatch *) - watch
 Gets the stop watch used in this timer. More...
 

Detailed Description

The base class for the diagnostic timers.

Method Documentation

◆ destroy

- (void) destroy

Destroys this timer and its data.

◆ getStats

- (NSString*) getStats

Gets a string containing the stats from this timer.

Implemented in FMLiveSwitchDiagnosticsRateTimer, and FMLiveSwitchDiagnosticsDurationTimer.

◆ hasData

- (bool) hasData

Gets if this Timer has data or not.

Implemented in FMLiveSwitchDiagnosticsRateTimer, and FMLiveSwitchDiagnosticsDurationTimer.

◆ tag

- (NSString*) tag

Gets the tag for this diagnostic timer.

◆ watch

- (FMLiveSwitchManagedStopwatch*) watch

Gets the stop watch used in this timer.