Home
last modified time | relevance | path

Searched refs:ProcMemInfo (Results 1 – 8 of 8) sorted by relevance

/system/core/libmeminfo/
Dlibmeminfo_test.cpp39 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 …]
Dprocmeminfo.cpp103 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 …]
Dlibmeminfo_benchmark.cpp36 using ::android::meminfo::ProcMemInfo;
/system/core/libmeminfo/include/meminfo/
Dprocmeminfo.h31 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/
Dprocmem.cpp31 using ProcMemInfo = ::android::meminfo::ProcMemInfo; typedef
177 if (!ProcMemInfo::ResetWorkingSet(pid)) { in main()
184 ProcMemInfo proc(pid, show_wss); in main()
Dwsstop.cpp32 using ::android::meminfo::ProcMemInfo;
151 std::unique_ptr<ProcMemInfo> proc_mem = std::make_unique<ProcMemInfo>(g_pid, true); in workingset()
Dprocrank.cpp39 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()
Dlibrank.cpp41 using ::android::meminfo::ProcMemInfo;
170 ProcMemInfo pmem(pid, false, g_pgflags, g_pgflags_mask); in scan_libs_per_process()