UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
PlatformIoDispatcherStats.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
6
7#define UE_PLATFORM_DISPATCHER_STATS_ENABLED (COUNTERSTRACE_ENABLED || CSV_PROFILER_STATS)
8
9namespace UE
10{
11
12struct FIoFileBlockRequest;
13struct FIoEncodedBlockRequest;
14
16#if UE_PLATFORM_DISPATCHER_STATS_ENABLED
17class FPlatformIoDispatcherStats
18{
19public:
20 void OnFileBlockRequestEnqueued(FIoFileBlockRequest& FileBlockRequest);
21 void OnFileBlockRequestDequeued(FIoFileBlockRequest& FileBlockRequest);
22 void OnFileBlockReadStarted(FIoFileBlockRequest& FileBlockRequest);
23 void OnFileBlockReadCompleted(FIoFileBlockRequest& FileBlockRequest);
24 void OnFileBlockCompleted(FIoFileBlockRequest& FileBlockRequest);
30 void OnDecodeRequestEnqueued(FIoEncodedBlockRequest& EncodedBlockRequest);
31 void OnDecodeRequestCompleted(FIoEncodedBlockRequest& EncodedBlockRequest);
33
34private:
35 FIoDispatcherFilesystemStats Stats;
36};
37#else
38
57#endif
58
59} // namespace UE
FPlatformTypes::int64 int64
A 64-bit signed integer.
Definition Platform.h:1127
FPlatformTypes::uint64 uint64
A 64-bit unsigned integer.
Definition Platform.h:1117
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
uint32 Size
Definition VulkanMemory.cpp:4034
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition PlatformIoDispatcherStats.h:41
void OnFileBlockCacheHit(uint64 Size)
Definition PlatformIoDispatcherStats.h:50
void OnFileBlockRequestEnqueued(FIoFileBlockRequest &FileBlockRequest)
Definition PlatformIoDispatcherStats.h:43
void OnFileBlockMemoryAllocated(uint32 Size)
Definition PlatformIoDispatcherStats.h:48
void OnBytesScattered(int64 BytesScattered)
Definition PlatformIoDispatcherStats.h:55
void OnFileBlockCacheStore(uint64 Size)
Definition PlatformIoDispatcherStats.h:52
void OnDecodeRequestEnqueued(FIoEncodedBlockRequest &EncodedBlockRequest)
Definition PlatformIoDispatcherStats.h:53
void OnFileBlockCacheMiss(uint64 Size)
Definition PlatformIoDispatcherStats.h:51
void OnDecodeRequestCompleted(FIoEncodedBlockRequest &EncodedBlockRequest)
Definition PlatformIoDispatcherStats.h:54
void OnFileBlockReadStarted(FIoFileBlockRequest &FileBlockRequest)
Definition PlatformIoDispatcherStats.h:45
void OnFileBlockReadCompleted(FIoFileBlockRequest &FileBlockRequest)
Definition PlatformIoDispatcherStats.h:46
void OnFileBlockMemoryFreed(uint32 Size)
Definition PlatformIoDispatcherStats.h:49
void OnFileBlockRequestDequeued(FIoFileBlockRequest &FileBlockRequest)
Definition PlatformIoDispatcherStats.h:44
void OnFileBlockCompleted(FIoFileBlockRequest &FileBlockRequest)
Definition PlatformIoDispatcherStats.h:47
Definition AdvancedWidgetsModule.cpp:13
Definition PlatformIoDispatcherBase.h:90
Definition PlatformIoDispatcherBase.h:215