Searched refs:ProcMemInfo (Results 1 – 8 of 8) sorted by relevance
/system/core/libmeminfo/ |
D | libmeminfo_test.cpp | 39 TEST(ProcMemInfo, TestWorkingTestReset) { in TEST() argument 41 EXPECT_TRUE(ProcMemInfo::ResetWorkingSet(pid)); in TEST() 44 TEST(ProcMemInfo, UsageEmpty) { in TEST() argument 47 ProcMemInfo proc_mem(pid, true); in TEST() 56 TEST(ProcMemInfo, MapsNotEmpty) { in TEST() argument 58 ProcMemInfo proc_mem(pid); in TEST() 63 TEST(ProcMemInfo, WssEmpty) { in TEST() argument 66 ProcMemInfo proc_mem(pid, false); in TEST() 75 TEST(ProcMemInfo, SwapOffsetsEmpty) { in TEST() argument 78 ProcMemInfo proc_mem(pid, true); in TEST() [all …]
|
D | procmeminfo.cpp | 103 bool ProcMemInfo::ResetWorkingSet(pid_t pid) { in ResetWorkingSet() 113 ProcMemInfo::ProcMemInfo(pid_t pid, bool get_wss, uint64_t pgflags, uint64_t pgflags_mask) in ProcMemInfo() function in android::meminfo::ProcMemInfo 116 const std::vector<Vma>& ProcMemInfo::Maps() { in Maps() 124 const std::vector<Vma>& ProcMemInfo::MapsWithPageIdle() { in MapsWithPageIdle() 132 const std::vector<Vma>& ProcMemInfo::Smaps(const std::string& path) { in Smaps() 151 const MemUsage& ProcMemInfo::Usage() { in Usage() 165 const MemUsage& ProcMemInfo::Wss() { in Wss() 179 bool ProcMemInfo::ForEachVma(const VmaCallback& callback) { in ForEachVma() 184 bool ProcMemInfo::SmapsOrRollup(MemUsage* stats) const { in SmapsOrRollup() 190 bool ProcMemInfo::SmapsOrRollupPss(uint64_t* pss) const { in SmapsOrRollupPss() [all …]
|
D | libmeminfo_benchmark.cpp | 36 using ::android::meminfo::ProcMemInfo;
|
/system/core/libmeminfo/include/meminfo/ |
D | procmeminfo.h | 31 class ProcMemInfo final { 37 ProcMemInfo(pid_t pid, bool get_wss = false, uint64_t pgflags = 0, uint64_t pgflags_mask = 0); 88 ~ProcMemInfo() = default;
|
/system/core/libmeminfo/tools/ |
D | procmem.cpp | 31 using ProcMemInfo = ::android::meminfo::ProcMemInfo; typedef 177 if (!ProcMemInfo::ResetWorkingSet(pid)) { in main() 184 ProcMemInfo proc(pid, show_wss); in main()
|
D | wsstop.cpp | 32 using ::android::meminfo::ProcMemInfo; 151 std::unique_ptr<ProcMemInfo> proc_mem = std::make_unique<ProcMemInfo>(g_pid, true); in workingset()
|
D | procrank.cpp | 39 using ::android::meminfo::ProcMemInfo; 50 std::unique_ptr<ProcMemInfo> procmem = in ProcessRecord() 51 std::make_unique<ProcMemInfo>(pid, get_wss, pgflags, pgflags_mask); in ProcessRecord() 431 [&](pid_t pid) -> bool { return ProcMemInfo::ResetWorkingSet(pid); })) { in main()
|
D | librank.cpp | 41 using ::android::meminfo::ProcMemInfo; 170 ProcMemInfo pmem(pid, false, g_pgflags, g_pgflags_mask); in scan_libs_per_process()
|