Module |
|
Header |
/Engine/Source/Runtime/RHI/Public/GPUDefragAllocator.h |
Include |
#include "GPUDefragAllocator.h" |
Source |
/Engine/Source/Runtime/RHI/Private/GPUDefragAllocator.cpp |
Performs a benchmark of the allocator and outputs the result to the log.
Performs a benchmark of the allocator and outputs the result to the log.
Parameter |
Description |
---|---|
MinChunkSize |
Minimum number of uint8s per random chunk |
MaxChunkSize |
Maximum number of uint8s per random chunk |
FreeRatio |
Free 0.0-1.0 of the memory before benchmarking |
LockRatio |
Lock 0.0-1.0 % of the memory before benchmarking |
bFullDefrag |
Whether to test full defrag (true) or continuous defrag (false) |
bSaveImages |
Whether to save before/after images to hard disk (TexturePoolBenchmark-*.bmp) |
Filename |
[opt] Filename to a previously saved memory layout to use for benchmarking, or nullptr |
MinChunkSize |
Minimum number of bytes per random chunk |
MaxChunkSize |
Maximum number of bytes per random chunk |
FreeRatio |
Free 0.0-1.0 % of the memory before benchmarking |
LockRatio |
Lock 0.0-1.0 % of the memory before benchmarking |
bFullDefrag |
Whether to test full defrag (true) or continuous defrag (false) |
bSaveImages |
Whether to save before/after images to hard disk (TexturePoolBenchmark-*.bmp) |
Filename |
[opt] Filename to a previously saved memory layout to use for benchmarking, or nullptr |