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()
3829 size_t sizeSum = 0; in updateHistograms() local3832 sizeSum += buffer->getTotalCPUBufferMemoryBytes(); in updateHistograms()3836 static_cast<int>(sizeSum) / kOneMegaByte); in updateHistograms()
132 VkDeviceSize sizeSum = 0; in CalcAvgResourceSize() local137 … sizeSum += (allocSize.BufferSizeMin + allocSize.BufferSizeMax) / 2 * allocSize.Probability; in CalcAvgResourceSize()141 sizeSum += avgDimension * avgDimension * 4 * allocSize.Probability; in CalcAvgResourceSize()145 return sizeSum / probabilitySum; in CalcAvgResourceSize()