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

Method BuildStatsString

include/vk_mem_alloc.h:6889–6901  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6887
6888#if VMA_STATS_STRING_ENABLED
6889void VmaDedicatedAllocationList::BuildStatsString(VmaJsonWriter& json)
6890{
6891 VmaMutexLockRead lock(m_Mutex, m_UseMutex);
6892 json.BeginArray();
6893 for (VmaAllocation alloc = m_AllocationList.Front();
6894 alloc != VMA_NULL; alloc = m_AllocationList.GetNext(alloc))
6895 {
6896 json.BeginObject(true);
6897 alloc->PrintParameters(json);
6898 json.EndObject();
6899 }
6900 json.EndArray();
6901}
6902#endif // VMA_STATS_STRING_ENABLED
6903
6904bool VmaDedicatedAllocationList::IsEmpty()

Callers 2

PrintDetailedMapMethod · 0.80

Calls 10

BeginArrayMethod · 0.80
BeginObjectMethod · 0.80
PrintParametersMethod · 0.80
EndObjectMethod · 0.80
EndArrayMethod · 0.80
WriteStringMethod · 0.80
PrintDetailedMapMethod · 0.80
FrontMethod · 0.45
GetNextMethod · 0.45

Tested by

no test coverage detected