FSecondsCounterData

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

Choose your operating system:

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()