FCookStats

Shared code to provide some common cook telemetry functionality.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "ProfilingDebugging/CookStats.h"

Syntax

class FCookStats

Remarks

Shared code to provide some common cook telemetry functionality. Exposes a CallStats class that exposes counters that track call count, cycles, and "bytes processed" for a call, bucketing by "cache hits/misses" and "game/other thread". This allows us to quickly time a call that may be executing on any thread, but quickly see the main thread time vs other time, split by "hits" or "misses", where hit/miss typically refers to a DDC hit/miss.

Classes

Name

Description

Public struct

CallStats

Struct to hold stats for a call.

Public struct

FDDCResourceUsageStats

Stats for a resource class that uses the DDC to load the resouce.

Public class

FScopedStatsCounter

Used to accumulate cycles to a CallStats instance.

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