Vulkan Memory Allocator
Public Attributes | List of all members
VmaStatInfo Struct Reference

Calculated statistics of memory usage in entire allocator. More...

#include <vk_mem_alloc.h>

Public Attributes

uint32_t blockCount
 Number of VkDeviceMemory Vulkan memory blocks allocated. More...
 
uint32_t allocationCount
 Number of VmaAllocation allocation objects allocated. More...
 
uint32_t unusedRangeCount
 Number of free ranges of memory between allocations. More...
 
VkDeviceSize usedBytes
 Total number of bytes occupied by all allocations. More...
 
VkDeviceSize unusedBytes
 Total number of bytes occupied by unused ranges. More...
 
VkDeviceSize allocationSizeMin
 
VkDeviceSize allocationSizeAvg
 
VkDeviceSize allocationSizeMax
 
VkDeviceSize unusedRangeSizeMin
 
VkDeviceSize unusedRangeSizeAvg
 
VkDeviceSize unusedRangeSizeMax
 

Detailed Description

Calculated statistics of memory usage in entire allocator.

Member Data Documentation

◆ allocationCount

uint32_t VmaStatInfo::allocationCount

Number of VmaAllocation allocation objects allocated.

◆ allocationSizeAvg

VkDeviceSize VmaStatInfo::allocationSizeAvg

◆ allocationSizeMax

VkDeviceSize VmaStatInfo::allocationSizeMax

◆ allocationSizeMin

VkDeviceSize VmaStatInfo::allocationSizeMin

◆ blockCount

uint32_t VmaStatInfo::blockCount

Number of VkDeviceMemory Vulkan memory blocks allocated.

◆ unusedBytes

VkDeviceSize VmaStatInfo::unusedBytes

Total number of bytes occupied by unused ranges.

◆ unusedRangeCount

uint32_t VmaStatInfo::unusedRangeCount

Number of free ranges of memory between allocations.

◆ unusedRangeSizeAvg

VkDeviceSize VmaStatInfo::unusedRangeSizeAvg

◆ unusedRangeSizeMax

VkDeviceSize VmaStatInfo::unusedRangeSizeMax

◆ unusedRangeSizeMin

VkDeviceSize VmaStatInfo::unusedRangeSizeMin

◆ usedBytes

VkDeviceSize VmaStatInfo::usedBytes

Total number of bytes occupied by all allocations.


The documentation for this struct was generated from the following file: