MCPcopy Create free account
hub / github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator / GetPoolStatistics

Method GetPoolStatistics

include/vk_mem_alloc.h:14932–14937  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14930}
14931
14932void VmaAllocator_T::GetPoolStatistics(VmaPool pool, VmaStatistics* pPoolStats)
14933{
14934 VmaClearStatistics(*pPoolStats);
14935 pool->m_BlockVector.AddStatistics(*pPoolStats);
14936 pool->m_DedicatedAllocations.AddStatistics(*pPoolStats);
14937}
14938
14939void VmaAllocator_T::CalculatePoolStatistics(VmaPool pool, VmaDetailedStatistics* pPoolStats)
14940{

Callers

nothing calls this directly

Calls 2

VmaClearStatisticsFunction · 0.85
AddStatisticsMethod · 0.80

Tested by

no test coverage detected