FMIceLinkDiagnosticsDurationTimer Class Reference

Inherits from FMIceLinkDiagnosticsTimer : NSObject
Declared in FMIceLinkDiagnosticsDurationTimer.h
FMIceLinkDiagnosticsDurationTimer.m

Overview

A duration timer for calculating how long a process takes.

– beginSample

Adds beginning timestamp to the sample queue.
- (void)beginSample

Discussion

Adds beginning timestamp to the sample queue.

Declared In

FMIceLinkDiagnosticsDurationTimer.h

– endSample

Adds an end timestamp to the sample queue.
- (void)endSample

Discussion

Adds an end timestamp to the sample queue.

Declared In

FMIceLinkDiagnosticsDurationTimer.h

– getStats

Matches up the beginning and end samples and calculates instant while keeping track of the total the min, max, and average.
- (NSString *)getStats

Discussion

Matches up the beginning and end samples and calculates instant while keeping track of the total the min, max, and average.

Declared In

FMIceLinkDiagnosticsDurationTimer.h

– hasData

Gets whether this timer has data or not.
- (bool)hasData

Discussion

Gets whether this timer has data or not.

Declared In

FMIceLinkDiagnosticsDurationTimer.h