FDynamicStats

Helper class used to generate dynamic stat ids.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

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

Include

#include "Stats/Stats.h"

Syntax

struct FDynamicStats

Remarks

Helper class used to generate dynamic stat ids.

Functions

Name Description

Public function Static

TStatId

 

CreateMemoryStatId

(
    const FString& StatNameOrDescripti...,
    FPlatformMemory::EMemoryCounterRegi...
)

Public function Static

TStatId

 

CreateMemoryStatId

(
    const FName StatNameOrDescription,
    FPlatformMemory::EMemoryCounterRegi...
)

Public function Static

TStatId

 

CreateStatId

(
    const FString& StatNameOrDescripti...
)

Create a new stat id and registers it with the stats system.

Public function Static

TStatId

 

CreateStatId

(
    const FName StatNameOrDescription,
    bool IsTimer
)

Public function Static

TStatId

 

CreateStatIdDouble

(
    const FString& StatNameOrDescripti...,
    bool bIsAccumulator
)

Public function Static

TStatId

 

CreateStatIdInt64

(
    const FString& StatNameOrDescripti...,
    bool bIsAccumulator
)