CPUTime.Dump
CPUTime.Dump
#Overview
name: CPUTime.Dump
This variable is created as a Console Variable (cvar).
- type:
Cmd
- help:
Usage -Delay=[NumSeconds=30]\nIf Delay==0, disables printing the CPU usage to the log\nIf Delay>0, starts printing the average CPU usage from the last n frames, clamps between 10 and 300
It is referenced in 2
C++ source files.
#Summary
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformTime.cpp:258
Scope: file
Source code excerpt:
static FAutoConsoleCommand CPUTimeDumpCommand
(
TEXT("CPUTime.Dump"),
TEXT("Usage -Delay=[NumSeconds=30]\n"
"If Delay==0, disables printing the CPU usage to the log\n"
"If Delay>0, starts printing the average CPU usage from the last n frames, clamps between 10 and 300"),
FConsoleCommandWithArgsDelegate::CreateRaw( &FCPUTimeDump::Get(), &FCPUTimeDump::ExecuteCommand )
);
#Loc: <Workspace>/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformTime.cpp:179
Scope: file
Source code excerpt:
}
/** Executes the CPUTime.Dump command. */
void ExecuteCommand( const TArray< FString >& Args )
{
int32 Delay = 0;
if( Args.Num() == 0 )
{
Delay = 30;