CreateProfileFilename

This will generate the profiling file name that will work with limited filename sizes on consoles.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

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

Include

#include "ProfilingDebugging/ProfilingHelpers.h"

Source

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

Syntax

FString CreateProfileFilename
(
    const FString & InFileExtension,
    bool bIncludeDateForDirectoryName
)

Remarks

This will generate the profiling file name that will work with limited filename sizes on consoles. We want a uniform naming convention so we will all just call this function.

Parameters

Parameter

Description

ProfilingType

this is the type of profiling file this is