Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FCookStats > API/Runtime/Core/FCookStats/CallStats
Contains a pair of accumulators, one for the game thread, one for the other threads.
| Name | GameAndOtherThreadAccumulator |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/ProfilingDebugging/CookStats.h |
| Include Path | #include "ProfilingDebugging/CookStats.h" |
Syntax
struct GameAndOtherThreadAccumulator
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| GameThread | int64 | ProfilingDebugging/CookStats.h | ||
| OtherThread | FThreadSafeCounter64 | ProfilingDebugging/CookStats.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Accumulate
(
int64 Value, |
Accumulates a stat. Uses thread safe primitives for non-game thread accumulation. | ProfilingDebugging/CookStats.h | |
int64 GetAccumulatedValue
(
bool bIsInGameThread |
Access the accumulated values (exposed for more uniform access methds to each accumulator). | ProfilingDebugging/CookStats.h |