Searched refs:totalCost (Results 1 – 4 of 4) sorted by relevance
298 int totalCost = 0; in HUF_setMaxHeight() local303 totalCost += baseCost - (1 << (largestBits - huffNode[n].nbBits)); in HUF_setMaxHeight()311 …totalCost >>= (largestBits - maxNbBits); /* note : totalCost is necessarily a multiple of baseCost… in HUF_setMaxHeight()331 while (totalCost > 0) { in HUF_setMaxHeight()332 U32 nBitsToDecrease = BIT_highbit32(totalCost) + 1; in HUF_setMaxHeight()351 totalCost -= 1 << (nBitsToDecrease - 1); in HUF_setMaxHeight()364 while (totalCost < 0) { /* Sometimes, cost correction overshoot */ in HUF_setMaxHeight()371 totalCost++; in HUF_setMaxHeight()376 totalCost++; in HUF_setMaxHeight()
256 return diskCache_.totalCost(); in diskUsage()272 return memoryCache_.totalCost(); in memoryUsage()301 return textureCache_.totalCost(); in textureUsage()
157 inline int totalCost() const { return q1_->cost + q2_->cost + q3_->cost; } in totalCost() function195 100.0 * float(totalCost()) / float(maxCost())); in printStats()
221 float totalCost; member