/art/libartbase/base/ |
D | utils_test.cc | 27 TEST_F(UtilsTest, PrettySize) { in TEST_F() argument 28 EXPECT_EQ("1024MB", PrettySize(1 * GB)); in TEST_F() 29 EXPECT_EQ("2048MB", PrettySize(2 * GB)); in TEST_F() 31 EXPECT_EQ("100GB", PrettySize(100 * GB)); in TEST_F() 33 EXPECT_EQ("1024KB", PrettySize(1 * MB)); in TEST_F() 34 EXPECT_EQ("10MB", PrettySize(10 * MB)); in TEST_F() 35 EXPECT_EQ("100MB", PrettySize(100 * MB)); in TEST_F() 36 EXPECT_EQ("1024B", PrettySize(1 * KB)); in TEST_F() 37 EXPECT_EQ("10KB", PrettySize(10 * KB)); in TEST_F() 38 EXPECT_EQ("100KB", PrettySize(100 * KB)); in TEST_F() [all …]
|
D | histogram-inl.h | 213 os << ": Avg: " << PrettySize(Mean()) << " Max: " in PrintMemoryUse() 214 << PrettySize(Max()) << " Min: " << PrettySize(Min()) << "\n"; in PrintMemoryUse()
|
D | utils.h | 47 std::string PrettySize(uint64_t size_in_bytes);
|
D | utils.cc | 223 std::string PrettySize(uint64_t byte_count) { in PrettySize() function
|
/art/runtime/gc/space/ |
D | malloc_space.cc | 93 << PrettySize(*initial_size) << ") is larger than its capacity (" in CreateMemMap() 94 << PrettySize(*growth_limit) << ")"; in CreateMemMap() 99 << PrettySize(*growth_limit) << ") is larger than the capacity (" in CreateMemMap() 100 << PrettySize(*capacity) << ")"; in CreateMemMap() 116 << PrettySize(*capacity) << ": " << error_msg; in CreateMemMap() 154 VLOG(heap) << "MallocSpace::MoreCore " << PrettySize(increment); in MoreCore() 208 VLOG(heap) << "GrowthLimit " << PrettySize(growth_limit); in CreateZygoteSpace() 209 VLOG(heap) << "Capacity " << PrettySize(capacity); in CreateZygoteSpace() 254 << ",size=" << PrettySize(Size()) << ",capacity=" << PrettySize(Capacity()) in Dump() 255 << ",non_growth_limit_capacity=" << PrettySize(NonGrowthLimitCapacity()) in Dump()
|
D | dlmalloc_space.cc | 170 << " initial_size=" << PrettySize(initial_size) in Create() 171 << " growth_limit=" << PrettySize(growth_limit) in Create() 172 << " capacity=" << PrettySize(capacity); in Create() 183 << PrettySize(capacity); in Create() 362 VLOG(heap) << "DlMallocSpace::SetFootprintLimit " << PrettySize(new_size); in SetFootprintLimit()
|
D | rosalloc_space.cc | 146 << " initial_size=" << PrettySize(initial_size) in Create() 147 << " growth_limit=" << PrettySize(growth_limit) in Create() 148 << " capacity=" << PrettySize(capacity); in Create() 159 << PrettySize(capacity); in Create() 347 VLOG(heap) << "RosAllocSpace::SetFootprintLimit " << PrettySize(new_size); in SetFootprintLimit()
|
D | zygote_space.cc | 88 << ",size=" << PrettySize(Size()) in Dump()
|
D | region_space.cc | 75 << PrettySize(capacity) << " with message " << error_msg; in CreateMemMap() 767 << max_contiguous_allocation << " bytes). Number of " << PrettySize(kRegionSize) in LogFragmentationAllocFailure() 975 << " (" << PrettySize(longest_consecutive_free_bytes) << ")"; in Dump()
|
D | bump_pointer_space.cc | 37 << PrettySize(capacity) << " with message " << error_msg; in Create()
|
/art/runtime/gc/collector/ |
D | garbage_collector.cc | 408 << ": Avg: " << PrettySize(rss_histogram_.Mean() * KB) in DumpPerformanceInfo() 409 << " Max: " << PrettySize(rss_histogram_.Max() * KB) in DumpPerformanceInfo() 410 << " Min: " << PrettySize(rss_histogram_.Min() * KB) << "\n"; in DumpPerformanceInfo() 418 << ": Avg: " << PrettySize(freed_bytes_histogram_.Mean() * KB) in DumpPerformanceInfo() 419 << " Max: " << PrettySize(freed_bytes_histogram_.Max() * KB) in DumpPerformanceInfo() 420 << " Min: " << PrettySize(freed_bytes_histogram_.Min() * KB) << "\n"; in DumpPerformanceInfo() 428 << GetName() << " freed: " << PrettySize(freed_bytes) << "\n" in DumpPerformanceInfo() 429 << GetName() << " throughput: " << PrettySize(freed_bytes / seconds) << "/s" in DumpPerformanceInfo() 432 << PrettySize(freed_bytes / cpu_seconds) << "/s\n" in DumpPerformanceInfo() 434 << PrettySize(scanned_bytes / seconds) << "/s " in DumpPerformanceInfo() [all …]
|
D | semi_space.cc | 356 VLOG(heap) << "Avoided dirtying " << PrettySize(saved_bytes_); in ReclaimPhase()
|
D | mark_compact.cc | 521 LOG(WARNING) << "Bump pointer space is not aligned to " << PrettySize(moving_space_alignment) in MarkCompact() 1269 LOG(WARNING) << "Failed to create moving space's shadow map of " << PrettySize(reqd_size) in PrepareForCompaction() 3309 << ". space-addr=" << reinterpret_cast<void*>(to_addr) << " size=" << PrettySize(map_size); in KernelPrepareRangeForUffd() 4137 << ". start:" << static_cast<void*>(addr) << " len:" << PrettySize(size); in RegisterUffd() 4150 << ". addr:" << static_cast<void*>(start) << " len:" << PrettySize(len); in UnregisterUffd() 4159 << ". addr:" << static_cast<void*>(start) << " len:" << PrettySize(len); in UnregisterUffd()
|
/art/runtime/ |
D | thread_linux.cc | 54 VLOG(threads) << "Alternate signal stack is " << PrettySize(ss.ss_size) << " at " << ss.ss_sp; in SetUpAlternateSignalStack()
|
D | thread.cc | 947 PrettySize(stack_size).c_str(), strerror(pthread_create_result))); in CreateNativeThread() 1320 VLOG(threads) << "Limiting unlimited stack (reported as " << PrettySize(old_stack_size) << ")" in GetThreadStack() 1321 << " to " << PrettySize(*stack_size) in GetThreadStack() 1374 PrettySize(read_stack_size).c_str(), in InitStackHwm() 1375 PrettySize(read_guard_size).c_str()); in InitStackHwm() 2116 << PrettySize(thread->tlsPtr_.stack_size) << "\n"; in DumpState()
|
D | common_throws.cc | 714 msg += PrettySize(self->GetStackSize()); in ThrowStackOverflowError()
|
/art/runtime/jit/ |
D | jit_code_cache.cc | 221 << PrettySize(max_capacity) << " is too big"; in Create() 251 << PrettySize(initial_capacity) in Create() 253 << PrettySize(max_capacity); in Create() 780 << " ccache_size=" << PrettySize(CodeCacheSizeLocked()) << ": " in Commit() 781 << " dcache_size=" << PrettySize(DataCacheSizeLocked()) << ": " in Commit() 820 << " ccache_size=" << PrettySize(CodeCacheSizeLocked()) << ": " in RemoveMethod() 821 << " dcache_size=" << PrettySize(DataCacheSizeLocked()); in RemoveMethod() 986 << PrettySize(code_size) in Reserve() 988 << PrettySize(data_size); in Reserve() 1002 << PrettySize(code_size) in Reserve() [all …]
|
D | debugger_interface.cc | 602 VLOG(jit) << "JIT mini-debug-info added for new type, size=" << PrettySize(symfile.size()); in AddNativeDebugInfoForJit() 606 << ", size=" << PrettySize(symfile.size()); in AddNativeDebugInfoForJit()
|
D | jit_memory_region.cc | 331 VLOG(jit) << "Increasing code cache capacity to " << PrettySize(current_capacity_); in IncreaseCodeCacheCapacity()
|
D | jit.cc | 114 << PrettySize(options->GetCodeCacheInitialCapacity()) in Create() 115 << ", max_capacity=" << PrettySize(options->GetCodeCacheMaxCapacity()) in Create() 512 << PrettySize(bytes) in AddMemoryUsage()
|
/art/runtime/gc/ |
D | heap.cc | 1289 << PrettySize(GetBytesFreedEver() / total_seconds) << "/s" in DumpGcPerformanceInfo() 1291 << PrettySize(GetBytesFreedEver() / total_cpu_seconds) << "/s\n"; in DumpGcPerformanceInfo() 1293 os << "Total bytes allocated " << PrettySize(GetBytesAllocatedEver()) << "\n"; in DumpGcPerformanceInfo() 1294 os << "Total bytes freed " << PrettySize(GetBytesFreedEver()) << "\n"; in DumpGcPerformanceInfo() 1295 os << "Free memory " << PrettySize(GetFreeMemory()) << "\n"; in DumpGcPerformanceInfo() 1296 os << "Free memory until GC " << PrettySize(GetFreeMemoryUntilGC()) << "\n"; in DumpGcPerformanceInfo() 1297 os << "Free memory until OOME " << PrettySize(GetFreeMemoryUntilOOME()) << "\n"; in DumpGcPerformanceInfo() 1298 os << "Total memory " << PrettySize(GetTotalMemory()) << "\n"; in DumpGcPerformanceInfo() 1299 os << "Max memory " << PrettySize(GetMaxMemory()) << "\n"; in DumpGcPerformanceInfo() 1301 os << "Zygote space size " << PrettySize(zygote_space_->Size()) << "\n"; in DumpGcPerformanceInfo() [all …]
|
D | allocation_record.cc | 176 << PrettySize(sz * records->alloc_record_max_) << ")"; in SetAllocTrackingEnabled()
|
/art/runtime/gc/allocator/ |
D | rosalloc.cc | 2160 << " (" << PrettySize(num_pages_runs[i] * gPageSize) << ")" in DumpStats() 2161 << " #metadata_bytes=" << PrettySize(num_metadata_bytes[i]) in DumpStats() 2162 << " #slots=" << num_slots[i] << " (" << PrettySize(num_slots[i] * bracketSizes[i]) << ")" in DumpStats() 2164 << " (" << PrettySize(num_used_slots[i] * bracketSizes[i]) << ")\n"; in DumpStats() 2168 << " (" << PrettySize(num_pages_large_objects * gPageSize) << ")\n"; in DumpStats() 2179 os << "Total #total_bytes=" << PrettySize(total_num_pages * gPageSize) in DumpStats() 2180 << " #metadata_bytes=" << PrettySize(total_metadata_bytes) in DumpStats() 2181 << " #used_bytes=" << PrettySize(total_allocated_bytes) << "\n"; in DumpStats()
|
/art/dex2oat/driver/ |
D | compiled_method_storage.cc | 167 os << " swap=" << PrettySize(swap_size) << " (" << swap_size << "B)"; in DumpMemoryUsage()
|
D | compiler_driver.cc | 2879 oss << "arena alloc=" << PrettySize(max_arena_alloc_) << " (" << max_arena_alloc_ << "B)"; in GetMemoryUsageString() 2880 oss << " java alloc=" << PrettySize(java_alloc) << " (" << java_alloc << "B)"; in GetMemoryUsageString() 2885 oss << " native alloc=" << PrettySize(allocated_space) << " (" << allocated_space << "B)" in GetMemoryUsageString() 2886 << " free=" << PrettySize(free_space) << " (" << free_space << "B)"; in GetMemoryUsageString()
|