Home
last modified time | relevance | path

Searched refs:rss_bytes (Results 1 – 3 of 3) sorted by relevance

/bionic/tests/
Dmalloc_stress_test.cpp74 uint64_t rss_bytes = 0; in TEST() local
81 rss_bytes += update_vma.usage.rss; in TEST()
85 if (rss_bytes < rss_min) { in TEST()
86 rss_min = rss_bytes; in TEST()
88 if (rss_bytes > rss_max) { in TEST()
89 rss_max = rss_bytes; in TEST()
97 printf("RSS %" PRIu64 " %0.2fMB\n", rss_bytes, rss_bytes / (1024.0 * 1024.0)); in TEST()
/bionic/benchmarks/
Dmalloc_map_benchmark.cpp47 static void Gather(uint64_t* rss_bytes) { in Gather() argument
57 *rss_bytes += update_vma.usage.rss; in Gather()
66 uint64_t rss_bytes = 0; in MapBenchmark() local
84 Gather(&rss_bytes); in MapBenchmark()
86 rss_bytes -= rss_bytes_before; in MapBenchmark()
92 double rss_mb = (rss_bytes / static_cast<double>(state.iterations())) / 1024.0 / 1024.0; in MapBenchmark()
Dmalloc_rss_benchmark.cpp119 uint64_t rss_bytes = 0; in StressSizeClass() local
130 rss_bytes += update_vma.usage.rss; in StressSizeClass()
135 std::cout << "RSS: " << rss_bytes / (1024.0 * 1024.0) << " MB" << std::endl; in StressSizeClass()