Navigation
API > API/Developer > API/Developer/TraceInsightsCore
Simple stopwatch.
| Name | FStopwatch |
| Type | struct |
| Header File | /Engine/Source/Developer/TraceInsightsCore/Public/InsightsCore/Common/Stopwatch.h |
| Include Path | #include "InsightsCore/Common/Stopwatch.h" |
Syntax
struct FStopwatch
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AccumulatedTime | uint64 | InsightsCore/Common/Stopwatch.h | ||
| bIsStarted | bool | InsightsCore/Common/Stopwatch.h | ||
| StartTime | uint64 | InsightsCore/Common/Stopwatch.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
double GetAccumulatedTime() |
InsightsCore/Common/Stopwatch.h | ||
uint64 GetAccumulatedTimeMs() |
InsightsCore/Common/Stopwatch.h | ||
void Reset() |
InsightsCore/Common/Stopwatch.h | ||
void Restart() |
InsightsCore/Common/Stopwatch.h | ||
void Start() |
InsightsCore/Common/Stopwatch.h | ||
void Stop() |
InsightsCore/Common/Stopwatch.h | ||
void Update() |
InsightsCore/Common/Stopwatch.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static uint64 Cycles64ToMilliseconds
(
const uint64 Cycles64 |
InsightsCore/Common/Stopwatch.h | ||
static double Cycles64ToSeconds
(
const uint64 Cycles64 |
InsightsCore/Common/Stopwatch.h |