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
23namespace UE::Stats
24{
40
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
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition StatsCommand.cpp:2274