Searched refs:rss_bytes (Results 1 – 11 of 11) sorted by relevance
/aosp12/system/extras/memory_replay/tests/ |
H A D | NativeInfoTest.cpp | 62 size_t rss_bytes = 1; in TEST_F() local 64 NativeGetInfo(tmp_file_->fd, &rss_bytes, &va_bytes); in TEST_F() 65 ASSERT_EQ(0U, rss_bytes); in TEST_F() 123 size_t rss_bytes = 1; in TEST_F() local 125 NativeGetInfo(tmp_file_->fd, &rss_bytes, &va_bytes); in TEST_F() 126 ASSERT_EQ(32768U, rss_bytes); in TEST_F() 184 size_t rss_bytes = 1; in TEST_F() local 186 NativeGetInfo(tmp_file_->fd, &rss_bytes, &va_bytes); in TEST_F() 187 ASSERT_EQ(45056U, rss_bytes); in TEST_F() 326 size_t rss_bytes = 1; in TEST_F() local [all …]
|
/aosp12/bionic/tests/ |
H A D | malloc_stress_test.cpp | 74 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()
|
/aosp12/system/extras/memory_replay/ |
H A D | NativeInfo.cpp | 51 void NativeGetInfo(int smaps_fd, size_t* rss_bytes, size_t* va_bytes) { in NativeGetInfo() argument 99 *rss_bytes = total_rss_bytes; in NativeGetInfo() 104 size_t rss_bytes; in NativePrintInfo() local 112 NativeGetInfo(smaps_fd, &rss_bytes, &va_bytes); in NativePrintInfo() 116 NativeFormatFloat(buffer, sizeof(buffer), rss_bytes, 1024 * 1024); in NativePrintInfo() 117 NativePrintf("%sNative RSS: %zu bytes %sMB\n", preamble, rss_bytes, buffer); in NativePrintInfo()
|
H A D | NativeInfo.h | 19 void NativeGetInfo(int smaps_fd, size_t* rss_bytes, size_t* va_bytes);
|
/aosp12/bionic/benchmarks/ |
H A D | malloc_map_benchmark.cpp | 47 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()
|
/aosp12/system/unwinding/libunwindstack/benchmarks/ |
H A D | ElfBenchmark.cpp | 34 uint64_t rss_bytes = 0; in BenchmarkElfCreate() local 59 GatherRss(&rss_bytes); in BenchmarkElfCreate() 60 rss_bytes -= rss_bytes_before; in BenchmarkElfCreate() 66 state.counters["RSS_BYTES"] = rss_bytes / static_cast<double>(state.iterations()); in BenchmarkElfCreate()
|
H A D | SymbolBenchmark.cpp | 35 uint64_t rss_bytes = 0; in BenchmarkSymbolLookup() local 72 GatherRss(&rss_bytes); in BenchmarkSymbolLookup() 73 rss_bytes -= rss_bytes_before; in BenchmarkSymbolLookup() 79 state.counters["RSS_BYTES"] = rss_bytes / static_cast<double>(state.iterations()); in BenchmarkSymbolLookup()
|
H A D | Utils.cpp | 48 void GatherRss(uint64_t* rss_bytes) { in GatherRss() argument 58 *rss_bytes += update_vma.usage.rss; in GatherRss()
|
H A D | Utils.h | 35 void GatherRss(uint64_t* rss_bytes);
|
/aosp12/system/memory/lmkd/ |
H A D | statslog.h | 120 int64_t rss_bytes, int64_t swap_bytes); 155 int64_t rss_bytes __unused, int64_t swap_bytes __unused) { in stats_read_memory_stat()
|
H A D | statslog.cpp | 144 int64_t rss_bytes, int64_t swap_bytes) { in stats_read_memory_stat() argument 156 mem_st.rss_in_bytes = rss_bytes; in stats_read_memory_stat()
|