MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / BuildStatsString

Method BuildStatsString

include/vk_mem_alloc.h:6625–6637  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6623
6624#if VMA_STATS_STRING_ENABLED
6625void VmaDedicatedAllocationList::BuildStatsString(VmaJsonWriter& json)
6626{
6627 VmaMutexLockRead lock(m_Mutex, m_UseMutex);
6628 json.BeginArray();
6629 for (VmaAllocation alloc = m_AllocationList.Front();
6630 alloc != VMA_NULL; alloc = m_AllocationList.GetNext(alloc))
6631 {
6632 json.BeginObject(true);
6633 alloc->PrintParameters(json);
6634 json.EndObject();
6635 }
6636 json.EndArray();
6637}
6638#endif // VMA_STATS_STRING_ENABLED
6639
6640bool VmaDedicatedAllocationList::IsEmpty()

Callers 2

PrintDetailedMapMethod · 0.80

Calls 10

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

Tested by

no test coverage detected