UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
StatIgnoreList.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
#pragma once
3
4
#include "
CoreTypes.h
"
5
#include "
Hash/Fnv.h
"
6
#include "
Stats/StatsCommon.h
"
7
8
#ifndef UE_STATS_ALLOW_PER_THREAD_IGNORELIST
9
// TODO: support in regular stats as well.
10
#define UE_STATS_ALLOW_PER_THREAD_IGNORELIST UE_USE_LIGHTWEIGHT_STATS
11
#endif
12
22
#if UE_STATS_ALLOW_PER_THREAD_IGNORELIST
23
namespace
UE::Stats
24
{
39
void
InitializeIgnoreList
();
40
52
bool
CORE_API
IsStatOrGroupIgnoredOnCurrentThread
(
uint32
StatNameHash
,
uint32
GroupNameHash
= 0);
53
54
}
// namespace UE::Stats
55
#endif
// UE_STATS_ALLOW_PER_THREAD_IGNORELIST
56
57
#if UE_STATS_ALLOW_PER_THREAD_IGNORELIST
58
// Hashes the name at compile time.
59
#define UE_STATS_HASH_NAME(Name)\
60
UE::HashStringFNV1a<uint32>(TEXT(#Name))
61
#else
62
#define UE_STATS_HASH_NAME(Name) 0
63
#endif
CoreTypes.h
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
Fnv.h
StatsCommon.h
uint32
uint32_t uint32
Definition
binka_ue_file_header.h:6
UE::Stats
Definition
StatsCommand.cpp:2274
Engine
Source
Runtime
Core
Public
Stats
StatIgnoreList.h
Generated by
1.9.8