Searched refs:TotalMemory (Results 1 – 6 of 6) sorted by relevance
140 size_t TotalMemory = 0; in getTotalMemory() local142 TotalMemory += Slab->Size; in getTotalMemory()144 return TotalMemory; in getTotalMemory()149 size_t TotalMemory = 0; in PrintStats() local151 TotalMemory += Slab->Size; in PrintStats()157 << "Bytes allocated: " << TotalMemory << '\n' in PrintStats()158 << "Bytes wasted: " << (TotalMemory - BytesAllocated) in PrintStats()
22 size_t TotalMemory) { in printBumpPtrAllocatorStats() argument25 << "Bytes allocated: " << TotalMemory << '\n' in printBumpPtrAllocatorStats()26 << "Bytes wasted: " << (TotalMemory - BytesAllocated) in printBumpPtrAllocatorStats()
118 size_t TotalMemory);276 size_t TotalMemory = 0; in getTotalMemory() local278 TotalMemory += computeSlabSize(std::distance(Slabs.begin(), I)); in getTotalMemory()280 TotalMemory += PtrAndSize.second; in getTotalMemory()281 return TotalMemory; in getTotalMemory()
116 size_t TotalMemory);273 size_t TotalMemory = 0; in getTotalMemory() local275 TotalMemory += computeSlabSize(std::distance(Slabs.begin(), I)); in getTotalMemory()277 TotalMemory += PtrAndSize.second; in getTotalMemory()278 return TotalMemory; in getTotalMemory()
120 size_t TotalMemory);287 size_t TotalMemory = 0; in getTotalMemory() local289 TotalMemory += computeSlabSize(std::distance(Slabs.begin(), I)); in getTotalMemory()291 TotalMemory += PtrAndSize.second; in getTotalMemory()292 return TotalMemory; in getTotalMemory()