pub unsafe extern "C" fn vmaCalculateStatistics(
    allocator: VmaAllocator,
    pStats: *mut VmaTotalStatistics
)
Expand description

\brief Retrieves statistics from current state of the Allocator.

This function is called “calculate” not “get” because it has to traverse all internal data structures, so it may be quite slow. Use it for debugging purposes. For faster but more brief statistics suitable to be called every frame or every allocation, use vmaGetHeapBudgets().

Note that when using allocator from multiple threads, returned information may immediately become outdated.