FScopedExternalProfilerBase::StartScopedTimer

Pauses or resumes profiler and keeps track of the prior state so it can be restored later.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/ProfilingDebugging/ExternalProfiler.h

Include

#include "ProfilingDebugging/ExternalProfiler.h"

Source

/Engine/Source/Runtime/Core/Private/ProfilingDebugging/ExternalProfiler.cpp

Syntax

void StartScopedTimer
(
    const bool bWantPause
)

Remarks

Pauses or resumes profiler and keeps track of the prior state so it can be restored later.

Parameters

Parameter

Description

bWantPause

true if this timer should 'include' code, or false to 'exclude' code

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