UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ChaosInsightsMacros.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#if UE_TRACE_ENABLED
6
7
#include "
CoreTypes.h
"
8
9
namespace
Chaos::Insights
10
{
11
enum class
ELockEventType
12
{
13
Mutex
,
14
RWLockReadLock
,
15
RWLockWriteLock
16
};
17
18
CHAOS_API
uint64
BeginLockAcquireEvent
(
ELockEventType
Type);
19
CHAOS_API
void
AcquiredLock
();
20
CHAOS_API
void
EndLockAcquireEvent
();
21
}
22
23
#define TRACE_CHAOS_BEGIN_LOCK(Type) Chaos::Insights::BeginLockAcquireEvent(Type);
24
#define TRACE_CHAOS_ACQUIRE_LOCK() Chaos::Insights::AcquiredLock();
25
#define TRACE_CHAOS_END_LOCK() Chaos::Insights::EndLockAcquireEvent();
26
27
#else
28
29
#define TRACE_CHAOS_BEGIN_LOCK(...)
30
#define TRACE_CHAOS_ACQUIRE_LOCK(...)
31
#define TRACE_CHAOS_END_LOCK(...)
32
33
#endif
// UE_TRACE_ENABLED
CoreTypes.h
uint64
FPlatformTypes::uint64 uint64
A 64-bit unsigned integer.
Definition
Platform.h:1117
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
MeshPaintVirtualTexture::Mutex
UE::FRecursiveMutex Mutex
Definition
MeshPaintVirtualTexture.cpp:164
Engine
Source
Runtime
Experimental
Chaos
Public
ChaosInsights
ChaosInsightsMacros.h
Generated by
1.9.8