Lines Matching refs:pStats
1944 VmaStats* pStats);
2916 VmaDefragmentationStats* pStats,
5840 void GetPoolStats(VmaPoolStats* pStats);
5859 void AddStats(VmaStats* pStats);
5873 VmaDefragmentationStats* pStats,
5879 VmaDefragmentationStats* pStats);
6388 VmaDefragmentationStats* pStats);
6406 VkCommandBuffer commandBuffer, VmaDefragmentationStats* pStats);
6662 void CalculateStats(VmaStats* pStats);
6670 VmaDefragmentationStats* pStats,
11312 void VmaBlockVector::GetPoolStats(VmaPoolStats* pStats) in GetPoolStats() argument
11318 pStats->size = 0; in GetPoolStats()
11319 pStats->unusedSize = 0; in GetPoolStats()
11320 pStats->allocationCount = 0; in GetPoolStats()
11321 pStats->unusedRangeCount = 0; in GetPoolStats()
11322 pStats->unusedRangeSizeMax = 0; in GetPoolStats()
11323 pStats->blockCount = blockCount; in GetPoolStats()
11330 pBlock->m_pMetadata->AddPoolStats(*pStats); in GetPoolStats()
12273 VmaDefragmentationStats* pStats, in Defragment() argument
12325 if(pStats != VMA_NULL) in Defragment()
12329 pStats->bytesMoved += bytesMoved; in Defragment()
12330 pStats->allocationsMoved += allocationsMoved; in Defragment()
12361 VmaDefragmentationStats* pStats) in DefragmentationEnd() argument
12376 FreeEmptyBlocks(pStats); in DefragmentationEnd()
12455 void VmaBlockVector::AddStats(VmaStats* pStats) in AddStats() argument
12469 VmaAddStatInfo(pStats->total, allocationStatInfo); in AddStats()
12470 VmaAddStatInfo(pStats->memoryType[memTypeIndex], allocationStatInfo); in AddStats()
12471 VmaAddStatInfo(pStats->memoryHeap[memHeapIndex], allocationStatInfo); in AddStats()
13219 VmaDefragmentationStats* pStats) : in VmaDefragmentationContext_T() argument
13223 m_pStats(pStats), in VmaDefragmentationContext_T()
13358 VkCommandBuffer commandBuffer, VmaDefragmentationStats* pStats) in Defragment() argument
13360 if(pStats) in Defragment()
13362 memset(pStats, 0, sizeof(VmaDefragmentationStats)); in Defragment()
13384 pStats, in Defragment()
13404 pStats, in Defragment()
14789 void VmaAllocator_T::CalculateStats(VmaStats* pStats) in CalculateStats() argument
14792 InitStatInfo(pStats->total); in CalculateStats()
14794 InitStatInfo(pStats->memoryType[i]); in CalculateStats()
14796 InitStatInfo(pStats->memoryHeap[i]); in CalculateStats()
14803 pBlockVector->AddStats(pStats); in CalculateStats()
14811 m_Pools[poolIndex]->m_BlockVector.AddStats(pStats); in CalculateStats()
14826 VmaAddStatInfo(pStats->total, allocationStatInfo); in CalculateStats()
14827 VmaAddStatInfo(pStats->memoryType[memTypeIndex], allocationStatInfo); in CalculateStats()
14828 VmaAddStatInfo(pStats->memoryHeap[memHeapIndex], allocationStatInfo); in CalculateStats()
14833 VmaPostprocessCalcStatInfo(pStats->total); in CalculateStats()
14835 VmaPostprocessCalcStatInfo(pStats->memoryType[i]); in CalculateStats()
14837 VmaPostprocessCalcStatInfo(pStats->memoryHeap[i]); in CalculateStats()
14844 VmaDefragmentationStats* pStats, in DefragmentationBegin() argument
14853 this, m_CurrentFrameIndex.load(), info.flags, pStats); in DefragmentationBegin()
14862 info.commandBuffer, pStats); in DefragmentationBegin()
15563 VmaStats* pStats) in vmaCalculateStats() argument
15565 VMA_ASSERT(allocator && pStats); in vmaCalculateStats()
15567 allocator->CalculateStats(pStats); in vmaCalculateStats()
16434 VmaDefragmentationStats* pStats, in vmaDefragmentationBegin() argument
16454 VkResult res = allocator->DefragmentationBegin(*pInfo, pStats, pContext); in vmaDefragmentationBegin()