Searched refs:sizeSum (Results 1 – 3 of 3) sorted by relevance
37 uint64_t sizeSum = 0; in ComputeMippedMemoryUsage() local44 sizeSum += static_cast<uint64_t>(mipWidth * mipHeight * mipDepth) * pixelSize; in ComputeMippedMemoryUsage()47 return sizeSum; in ComputeMippedMemoryUsage()
4034 size_t sizeSum = 0; in updateHistograms() local4037 sizeSum += buffer->getTotalCPUBufferMemoryBytes(); in updateHistograms()4041 static_cast<int>(sizeSum) / kOneMegaByte); in updateHistograms()
135 VkDeviceSize sizeSum = 0; in CalcAvgResourceSize() local140 … sizeSum += (allocSize.BufferSizeMin + allocSize.BufferSizeMax) / 2 * allocSize.Probability; in CalcAvgResourceSize()144 sizeSum += avgDimension * avgDimension * 4 * allocSize.Probability; in CalcAvgResourceSize()148 return sizeSum / probabilitySum; in CalcAvgResourceSize()