FSecondsCounterData

Utility class to store a counter and a time value in seconds.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Stats/StatsMisc.h

Include

#include "Stats/StatsMisc.h"

Syntax

struct FSecondsCounterData

Remarks

Utility class to store a counter and a time value in seconds. Implementation will be stripped out in STATS disabled builds, although it will waste a small amount of memory unless stripped by the linker.

Useful when timing reentrant functions.

Functions

Name Description

Public function Static

void

 

ClearTime()

Public function Static

double

 

GetTime()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss