Navigation
API > API/Runtime > API/Runtime/Engine
Simple class to track latency as a request/action propagates from GT to ART (or vice versa)
| Name | FQuartzLatencyTimer |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Sound/QuartzQuantizationUtilities.h |
| Include Path | #include "Sound/QuartzQuantizationUtilities.h" |
Syntax
class FQuartzLatencyTimer
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FQuartzLatencyTimer() |
Ctor | Sound/QuartzQuantizationUtilities.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| JourneyEndCycles | int64 | Sound/QuartzQuantizationUtilities.h | ||
| JourneyStartCycles | int64 | Sound/QuartzQuantizationUtilities.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
double GetCurrentTimePassedMs() |
Get the current value of a running timer | Sound/QuartzQuantizationUtilities.h | |
double GetResultsMilliseconds() |
Get the final time of a stopped timer | Sound/QuartzQuantizationUtilities.h | |
bool HasTimerRun() |
Returns true if the timer has completed (we can get the results) | Sound/QuartzQuantizationUtilities.h | |
bool HasTimerStarted() |
Returns true if the Timer was started (could be running or stopped) | Sound/QuartzQuantizationUtilities.h | |
bool HasTimerStopped() |
Returns true if the timer has been run and stopped | Sound/QuartzQuantizationUtilities.h | |
bool IsTimerRunning() |
Returns true if the timer is running | Sound/QuartzQuantizationUtilities.h | |
void ResetTimer() |
Reset the start time | Sound/QuartzQuantizationUtilities.h | |
void StartTimer() |
Record the start time | Sound/QuartzQuantizationUtilities.h | |
void StopTimer() |
Stop the timer | Sound/QuartzQuantizationUtilities.h |