UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MemoryChunkStoreStat.mock.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
5
6#if WITH_DEV_AUTOMATION_TESTS
7
9
10namespace BuildPatchServices
11{
13 : public IMemoryChunkStoreStat
14 {
15 public:
21
22 public:
23 virtual void OnChunkStored(const FGuid& ChunkId) override
24 {
25 RxChunkStored.Emplace(FStatsCollector::GetSeconds(), ChunkId);
26 }
27
28 virtual void OnChunkReleased(const FGuid& ChunkId) override
29 {
30 RxChunkReleased.Emplace(FStatsCollector::GetSeconds(), ChunkId);
31 }
32
33 virtual void OnChunkBooted(const FGuid& ChunkId) override
34 {
35 RxChunkBooted.Emplace(FStatsCollector::GetSeconds(), ChunkId);
36 }
37
38 virtual void OnStoreUseUpdated(int32 ChunkCount) override
39 {
40 RxStoreUseUpdated.Emplace(FStatsCollector::GetSeconds(), ChunkCount);
41 }
42
43 virtual void OnStoreSizeUpdated(int32 Size) override
44 {
45 RxStoreSizeUpdated.Emplace(FStatsCollector::GetSeconds(), Size);
46 }
47
48 public:
54 };
55}
56
57#endif //WITH_DEV_AUTOMATION_TESTS
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
uint32 Size
Definition VulkanMemory.cpp:4034
Definition Array.h:670
Definition BuildPatchFileConstructor.h:28
Definition Guid.h:109
Definition Tuple.h:652