Home
last modified time | relevance | path

Searched refs:defragStats (Results 1 – 2 of 2) sorted by relevance

/external/angle/third_party/vulkan_memory_allocator/src/
DTests.cpp1394 VmaDefragmentationStats defragStats = {}; in TestDefragmentationSimple() local
1396 VkResult res = vmaDefragmentationBegin(g_hAllocator, &defragInfo, &defragStats, &defragCtx); in TestDefragmentationSimple()
1399 TEST(defragStats.allocationsMoved == 0 && defragStats.bytesFreed == 0 && in TestDefragmentationSimple()
1400 defragStats.bytesMoved == 0 && defragStats.deviceMemoryBlocksFreed == 0); in TestDefragmentationSimple()
1430 VmaDefragmentationStats defragStats; in TestDefragmentationSimple() local
1431 Defragment(allocations.data(), allocations.size(), nullptr, &defragStats); in TestDefragmentationSimple()
1432 TEST(defragStats.allocationsMoved > 0 && defragStats.bytesMoved > 0); in TestDefragmentationSimple()
1433 TEST(defragStats.deviceMemoryBlocksFreed >= 1); in TestDefragmentationSimple()
1464 VmaDefragmentationStats defragStats; in TestDefragmentationSimple() local
1465 Defragment(allocations.data(), allocations.size(), &defragInfo, &defragStats); in TestDefragmentationSimple()
[all …]
/external/angle/third_party/vulkan_memory_allocator/src/VmaReplay/
DVmaReplay.cpp2457 VmaDefragmentationStats defragStats = {}; in Defragment() local
2482 res = vmaDefragmentationBegin(m_Allocator, &defragInfo, &defragStats, &defragCtx); in Defragment()
2507 if(defragStats.allocationsMoved > 0) in Defragment()
2543 printf(" bytesMoved: %llu\n", defragStats.bytesMoved); in Defragment()
2544 printf(" bytesFreed: %llu\n", defragStats.bytesFreed); in Defragment()
2545 printf(" allocationsMoved: %u\n", defragStats.allocationsMoved); in Defragment()
2546 printf(" deviceMemoryBlocksFreed: %u\n", defragStats.deviceMemoryBlocksFreed); in Defragment()