Home
last modified time | relevance | path

Searched refs:total_allocated_bytes (Results 1 – 4 of 4) sorted by relevance

/aosp12/bionic/tests/
H A Dmalloc_iterate_test.cpp47 size_t total_allocated_bytes; member
71 test_data->total_allocated_bytes += size; in SavePointers()
95 test_data->total_allocated_bytes = 0; in VerifyPtrs()
200 size_t total = test_data.total_allocated_bytes; in TEST()
202 total = test_data.total_allocated_bytes - total; in TEST()
234 ASSERT_EQ(0UL, test_data.total_allocated_bytes); in TEST()
H A Dmalloc_test.cpp481 size_t total_allocated_bytes = 0; in TEST() local
495 total_allocated_bytes += val; in TEST()
498 total_allocated_bytes += val; in TEST()
501 total_allocated_bytes += val; in TEST()
507 EXPECT_LE(mallinfo_before_allocated_bytes, total_allocated_bytes); in TEST()
508 EXPECT_GE(mallinfo_after_allocated_bytes, total_allocated_bytes); in TEST()
517 total_allocated_bytes += size * count; in TEST()
521 EXPECT_NE(0U, total_allocated_bytes); in TEST()
/aosp12/system/extras/simpleperf/
H A Dcmd_kmem.cpp89 uint64_t total_allocated_bytes; member
122 sample_tree.total_allocated_bytes = total_allocated_bytes_; in GetSampleTree()
660 fprintf(fp, "Total allocated bytes: %" PRIu64 "\n", slab_sample_tree_.total_allocated_bytes); in PrintSlabReportContext()
662 slab_sample_tree_.total_allocated_bytes - slab_sample_tree_.total_requested_bytes; in PrintSlabReportContext()
664 if (slab_sample_tree_.total_allocated_bytes != 0) { in PrintSlabReportContext()
665 percentage = 100.0 * fragment / slab_sample_tree_.total_allocated_bytes; in PrintSlabReportContext()
/aosp12/art/runtime/gc/allocator/
H A Drosalloc.cc2180 size_t total_allocated_bytes = 0; in DumpStats() local
2184 total_allocated_bytes += num_used_slots[i] * bracketSizes[i]; in DumpStats()
2187 total_allocated_bytes += num_pages_large_objects * kPageSize; in DumpStats()
2190 << " #used_bytes=" << PrettySize(total_allocated_bytes) << "\n"; in DumpStats()