/art/libartbase/base/ |
D | utils_test.cc | 25 TEST_F(UtilsTest, PrettySize) { in TEST_F() argument 26 EXPECT_EQ("1024MB", PrettySize(1 * GB)); in TEST_F() 27 EXPECT_EQ("2048MB", PrettySize(2 * GB)); in TEST_F() 29 EXPECT_EQ("100GB", PrettySize(100 * GB)); in TEST_F() 31 EXPECT_EQ("1024KB", PrettySize(1 * MB)); in TEST_F() 32 EXPECT_EQ("10MB", PrettySize(10 * MB)); in TEST_F() 33 EXPECT_EQ("100MB", PrettySize(100 * MB)); in TEST_F() 34 EXPECT_EQ("1024B", PrettySize(1 * KB)); in TEST_F() 35 EXPECT_EQ("10KB", PrettySize(10 * KB)); in TEST_F() 36 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 | 43 std::string PrettySize(int64_t size_in_bytes);
|
D | utils.cc | 212 std::string PrettySize(int64_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 | 120 << " initial_size=" << PrettySize(initial_size) in Create() 121 << " growth_limit=" << PrettySize(growth_limit) in Create() 122 << " capacity=" << PrettySize(capacity); in Create() 133 << PrettySize(capacity); in Create() 312 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 | 90 << ",size=" << PrettySize(Size()) in Dump()
|
D | bump_pointer_space.cc | 37 << PrettySize(capacity) << " with message " << error_msg; in Create()
|
D | region_space.cc | 75 << PrettySize(capacity) << " with message " << error_msg; in CreateMemMap() 963 << " (" << PrettySize(longest_consecutive_free_bytes) << ")"; in Dump()
|
/art/runtime/gc/collector/ |
D | garbage_collector.cc | 296 << ": Avg: " << PrettySize(rss_histogram_.Mean() * KB) in DumpPerformanceInfo() 297 << " Max: " << PrettySize(rss_histogram_.Max() * KB) in DumpPerformanceInfo() 298 << " Min: " << PrettySize(rss_histogram_.Min() * KB) << "\n"; in DumpPerformanceInfo() 306 << ": Avg: " << PrettySize(freed_bytes_histogram_.Mean() * KB) in DumpPerformanceInfo() 307 << " Max: " << PrettySize(freed_bytes_histogram_.Max() * KB) in DumpPerformanceInfo() 308 << " Min: " << PrettySize(freed_bytes_histogram_.Min() * KB) << "\n"; in DumpPerformanceInfo() 317 << " objects with total size " << PrettySize(freed_bytes) << "\n" in DumpPerformanceInfo() 319 << PrettySize(freed_bytes / seconds) << "/s" in DumpPerformanceInfo() 322 << PrettySize(freed_bytes / cpu_seconds) << "/s\n"; in DumpPerformanceInfo()
|
D | semi_space.cc | 356 VLOG(heap) << "Avoided dirtying " << PrettySize(saved_bytes_); in ReclaimPhase()
|
/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 | 912 PrettySize(stack_size).c_str(), strerror(pthread_create_result))); in CreateNativeThread() 1276 VLOG(threads) << "Limiting unlimited stack (reported as " << PrettySize(old_stack_size) << ")" in GetThreadStack() 1277 << " to " << PrettySize(*stack_size) in GetThreadStack() 1314 PrettySize(read_stack_size).c_str(), in InitStackHwm() 1315 PrettySize(read_guard_size).c_str()); in InitStackHwm() 1944 << PrettySize(thread->tlsPtr_.stack_size) << "\n"; in DumpState()
|
D | common_throws.cc | 778 msg += PrettySize(self->GetStackSize()); in ThrowStackOverflowError()
|
D | runtime.cc | 369 << " (" << PrettySize(pre_gc_weighted_allocated_bytes) << ")"; in ~Runtime() 372 << " (" << PrettySize(post_gc_weighted_allocated_bytes) << ")" in ~Runtime()
|
/art/runtime/jit/ |
D | jit_code_cache.cc | 230 << PrettySize(max_capacity) << " is too big"; in Create() 255 << PrettySize(initial_capacity) in Create() 257 << PrettySize(max_capacity); in Create() 788 << " ccache_size=" << PrettySize(CodeCacheSizeLocked()) << ": " in Commit() 789 << " dcache_size=" << PrettySize(DataCacheSizeLocked()) << ": " in Commit() 822 << " ccache_size=" << PrettySize(CodeCacheSizeLocked()) << ": " in RemoveMethod() 823 << " dcache_size=" << PrettySize(DataCacheSizeLocked()); in RemoveMethod() 995 << PrettySize(code_size) in Reserve() 997 << PrettySize(data_size); in Reserve() 1011 << PrettySize(code_size) in Reserve() [all …]
|
D | jit_memory_region.cc | 328 VLOG(jit) << "Increasing code cache capacity to " << PrettySize(current_capacity_); in IncreaseCodeCacheCapacity()
|
D | jit.cc | 248 << PrettySize(options->GetCodeCacheInitialCapacity()) in Create() 249 << ", max_capacity=" << PrettySize(options->GetCodeCacheMaxCapacity()) in Create() 623 << PrettySize(bytes) in AddMemoryUsage()
|
D | debugger_interface.cc | 591 << " size=" << PrettySize(symfile.size()); in AddNativeDebugInfoForJit()
|
/art/runtime/gc/ |
D | heap.cc | 1158 << PrettySize(GetBytesFreedEver() / total_seconds) << "/s" in DumpGcPerformanceInfo() 1160 << PrettySize(GetBytesFreedEver() / total_cpu_seconds) << "/s\n"; in DumpGcPerformanceInfo() 1166 os << "Total bytes allocated " << PrettySize(GetBytesAllocatedEver()) << "\n"; in DumpGcPerformanceInfo() 1167 os << "Total bytes freed " << PrettySize(GetBytesFreedEver()) << "\n"; in DumpGcPerformanceInfo() 1168 os << "Free memory " << PrettySize(GetFreeMemory()) << "\n"; in DumpGcPerformanceInfo() 1169 os << "Free memory until GC " << PrettySize(GetFreeMemoryUntilGC()) << "\n"; in DumpGcPerformanceInfo() 1170 os << "Free memory until OOME " << PrettySize(GetFreeMemoryUntilOOME()) << "\n"; in DumpGcPerformanceInfo() 1171 os << "Total memory " << PrettySize(GetTotalMemory()) << "\n"; in DumpGcPerformanceInfo() 1172 os << "Max memory " << PrettySize(GetMaxMemory()) << "\n"; in DumpGcPerformanceInfo() 1174 os << "Zygote space size " << PrettySize(zygote_space_->Size()) << "\n"; in DumpGcPerformanceInfo() [all …]
|
D | allocation_record.cc | 160 << PrettySize(sz * records->alloc_record_max_) << ")"; in SetAllocTrackingEnabled()
|
/art/runtime/gc/allocator/ |
D | rosalloc.cc | 2167 << " (" << PrettySize(num_pages_runs[i] * kPageSize) << ")" in DumpStats() 2168 << " #metadata_bytes=" << PrettySize(num_metadata_bytes[i]) in DumpStats() 2169 << " #slots=" << num_slots[i] << " (" << PrettySize(num_slots[i] * bracketSizes[i]) << ")" in DumpStats() 2171 << " (" << PrettySize(num_used_slots[i] * bracketSizes[i]) << ")\n"; in DumpStats() 2175 << " (" << PrettySize(num_pages_large_objects * kPageSize) << ")\n"; in DumpStats() 2186 os << "Total #total_bytes=" << PrettySize(total_num_pages * kPageSize) in DumpStats() 2187 << " #metadata_bytes=" << PrettySize(total_metadata_bytes) in DumpStats() 2188 << " #used_bytes=" << PrettySize(total_allocated_bytes) << "\n"; in DumpStats()
|
/art/compiler/driver/ |
D | compiled_method_storage.cc | 167 os << " swap=" << PrettySize(swap_size) << " (" << swap_size << "B)"; in DumpMemoryUsage()
|
/art/dex2oat/driver/ |
D | compiler_driver.cc | 2940 oss << "arena alloc=" << PrettySize(max_arena_alloc_) << " (" << max_arena_alloc_ << "B)"; in GetMemoryUsageString() 2941 oss << " java alloc=" << PrettySize(java_alloc) << " (" << java_alloc << "B)"; in GetMemoryUsageString() 2946 oss << " native alloc=" << PrettySize(allocated_space) << " (" << allocated_space << "B)" in GetMemoryUsageString() 2947 << " free=" << PrettySize(free_space) << " (" << free_space << "B)"; in GetMemoryUsageString()
|