LiteFX::Rendering::DetailedMemoryStatistics::StatisticsBlock¶
Defines a single statistics block.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
struct StatisticsBlock;
Data Members¶
| Name | Description |
|---|---|
allocationSize | Returns the total size of memory for all allocations in the heap. |
allocations | Returns the total number of allocations in the heap. |
blockSize | Returns the total size of allocated memory across all blocks in the heap. |
blocks | Returns the number of memory blocks in the heap. |
cpuVisible | true, of the heap is accessible for the CPU and false otherwise. |
maxAllocationSize | The size of the largest allocation. |
maxUnusedRangeSize | The size of the largest unused memory range. |
minAllocationSize | The size of the smallest allocation. |
minUnusedRangeSize | The size of the smallest unused memory range. |
onGpu | true, if the heap is located in video memory and false otherwise. |
unusedRangeCount | The number of unoccupied memory ranges between allocations. |