FSimpleScopeSecondsCounter

Utility class to capture time passed in seconds, adding delta time to passed in variable.

Windows
MacOS
Linux

Inheritance Hierarchy

FSimpleScopeSecondsCounter

FControlRigSimpleScopeSecondsCounter

References

Module

Core

Header

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

Include

#include "Stats/StatsMisc.h"

Syntax

class FSimpleScopeSecondsCounter

Remarks

Utility class to capture time passed in seconds, adding delta time to passed in variable. Not useful for reentrant functions

Constructors

Name Description

Public function

FSimpleScopeSecondsCounter

(
    double& InSeconds,
    bool bInEnabled
)

Ctor, capturing start time.

Public function

FSimpleScopeSecondsCounter

(
    double& InSeconds,
    int32* InRecursionDepth
)

Ctor, capturing start time.

Destructors

Name Description

Public function

~FSimpleScopeSecondsCounter()

Dtor, updating seconds with time delta.

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