Vulkan Memory Allocator
|
More detailed statistics than VmaStatistics. More...
Public Attributes | |
VmaStatistics | statistics |
Basic statistics. | |
uint32_t | unusedRangeCount |
Number of free ranges of memory between allocations. | |
VkDeviceSize | allocationSizeMin |
Smallest allocation size. VK_WHOLE_SIZE if there are 0 allocations. | |
VkDeviceSize | allocationSizeMax |
Largest allocation size. 0 if there are 0 allocations. | |
VkDeviceSize | unusedRangeSizeMin |
Smallest empty range size. VK_WHOLE_SIZE if there are 0 empty ranges. | |
VkDeviceSize | unusedRangeSizeMax |
Largest empty range size. 0 if there are 0 empty ranges. | |
More detailed statistics than VmaStatistics.
These are slower to calculate. Use for debugging purposes. See functions: vmaCalculateStatistics(), vmaCalculatePoolStatistics().
Previous version of the statistics API provided averages, but they have been removed because they can be easily calculated as:
VkDeviceSize VmaDetailedStatistics::allocationSizeMax |
Largest allocation size. 0 if there are 0 allocations.
VkDeviceSize VmaDetailedStatistics::allocationSizeMin |
Smallest allocation size. VK_WHOLE_SIZE
if there are 0 allocations.
VmaStatistics VmaDetailedStatistics::statistics |
Basic statistics.
uint32_t VmaDetailedStatistics::unusedRangeCount |
Number of free ranges of memory between allocations.
VkDeviceSize VmaDetailedStatistics::unusedRangeSizeMax |
Largest empty range size. 0 if there are 0 empty ranges.
VkDeviceSize VmaDetailedStatistics::unusedRangeSizeMin |
Smallest empty range size. VK_WHOLE_SIZE
if there are 0 empty ranges.