Implemented VmaBlockMetadata_Linear::AddPoolStats.

This commit is contained in:
Adam Sawicki 2018-09-07 15:26:59 +02:00
parent 6540b19ed5
commit 21017c6cbe
2 changed files with 18 additions and 1 deletions

View file

@ -4133,6 +4133,10 @@ static void BasicTestBuddyAllocator()
SaveAllocatorStatsToFile(L"BuddyTest01.json");
VmaPoolStats stats = {};
vmaGetPoolStats(g_hAllocator, pool, &stats);
int DBG = 0; // Set breakpoint here to inspect `stats`.
// Destroy the buffers in random order.
while(!bufInfo.empty())
{