Lines Matching defs:statistics
146 MetaAllocator::Statistics statistics = allocator->currentStatistics();
147 return statistics.bytesAllocated > statistics.bytesReserved / 2;
152 MetaAllocator::Statistics statistics = allocator->currentStatistics();
153 ASSERT(statistics.bytesAllocated <= statistics.bytesReserved);
154 size_t bytesAllocated = statistics.bytesAllocated + addedMemoryUsage;
155 if (bytesAllocated >= statistics.bytesReserved)
156 bytesAllocated = statistics.bytesReserved;
158 size_t divisor = statistics.bytesReserved - bytesAllocated;
160 result = static_cast<double>(statistics.bytesReserved) / divisor;