FMLiveSwitchDiagnosticsDurationSample Class Reference

A sample for the duration timer. More...

Instance Methods

(long long) - beginMillis
 Gets the stopwatch value in milliseconds when the sample started. More...
 
(long long) - endMillis
 Gets the stopwatch value in milliseconds when the sample stopped. More...
 
(void) - endWithEndMillis:
 Ends the sample. More...
 
(instancetype) - initWithBeginMillis:
 Creates a new instance of the FMLiveSwitchDiagnosticsDurationSample class. More...
 

Class Methods

(FMLiveSwitchDiagnosticsDurationSample *) + durationSampleWithBeginMillis:
 Creates a new instance of the FMLiveSwitchDiagnosticsDurationSample class. More...
 

Detailed Description

A sample for the duration timer.

Method Documentation

◆ beginMillis

- (long long) beginMillis

Gets the stopwatch value in milliseconds when the sample started.

◆ durationSampleWithBeginMillis:

+ (FMLiveSwitchDiagnosticsDurationSample*) durationSampleWithBeginMillis: (long long)  beginMillis

Creates a new instance of the FMLiveSwitchDiagnosticsDurationSample class.

Parameters
beginMillisThe stopwatch value in milliseconds when the sample started.

◆ endMillis

- (long long) endMillis

Gets the stopwatch value in milliseconds when the sample stopped.

◆ endWithEndMillis:

- (void) endWithEndMillis: (long long)  endMillis

Ends the sample.

Parameters
endMillisThe stopwatch value in milliseconds when the sample stopped.

◆ initWithBeginMillis:

- (instancetype) initWithBeginMillis: (long long)  beginMillis

Creates a new instance of the FMLiveSwitchDiagnosticsDurationSample class.

Parameters
beginMillisThe stopwatch value in milliseconds when the sample started.