Searched refs:ProcMemInfo (Results 1 – 9 of 9) sorted by relevance
/system/memory/libmeminfo/ |
D | libmeminfo_test.cpp | 41 TEST(ProcMemInfo, TestWorkingTestReset) { in TEST() argument 43 EXPECT_TRUE(ProcMemInfo::ResetWorkingSet(pid)); in TEST() 46 TEST(ProcMemInfo, UsageEmpty) { in TEST() argument 49 ProcMemInfo proc_mem(pid, true); in TEST() 58 TEST(ProcMemInfo, MapsNotEmpty) { in TEST() argument 60 ProcMemInfo proc_mem(pid); in TEST() 65 TEST(ProcMemInfo, MapsUsageNotEmpty) { in TEST() argument 66 ProcMemInfo proc_mem(pid); in TEST() 85 TEST(ProcMemInfo, MapsUsageEmpty) { in TEST() argument 86 ProcMemInfo proc_mem(pid); in TEST() [all …]
|
D | procmeminfo.cpp | 108 bool ProcMemInfo::ResetWorkingSet(pid_t pid) { in ResetWorkingSet() 118 ProcMemInfo::ProcMemInfo(pid_t pid, bool get_wss, uint64_t pgflags, uint64_t pgflags_mask) in ProcMemInfo() function in android::meminfo::ProcMemInfo 121 const std::vector<Vma>& ProcMemInfo::Maps() { in Maps() 129 const std::vector<Vma>& ProcMemInfo::MapsWithPageIdle() { in MapsWithPageIdle() 137 const std::vector<Vma>& ProcMemInfo::MapsWithoutUsageStats() { in MapsWithoutUsageStats() 145 const std::vector<Vma>& ProcMemInfo::Smaps(const std::string& path) { in Smaps() 169 const MemUsage& ProcMemInfo::Usage() { in Usage() 183 const MemUsage& ProcMemInfo::Wss() { in Wss() 197 bool ProcMemInfo::ForEachVma(const VmaCallback& callback) { in ForEachVma() 202 bool ProcMemInfo::SmapsOrRollup(MemUsage* stats) const { in SmapsOrRollup() [all …]
|
D | libmeminfo_benchmark.cpp | 36 using ::android::meminfo::ProcMemInfo;
|
/system/memory/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); 95 ~ProcMemInfo() = default;
|
/system/memory/libmeminfo/tools/ |
D | procmem.cpp | 32 using ProcMemInfo = ::android::meminfo::ProcMemInfo; typedef 186 if (!ProcMemInfo::ResetWorkingSet(pid)) { in main() 193 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() 432 [&](pid_t pid) -> bool { return ProcMemInfo::ResetWorkingSet(pid); })) { in main()
|
D | librank.cpp | 41 using ::android::meminfo::ProcMemInfo; 179 ProcMemInfo pmem(pid, false, g_pgflags, g_pgflags_mask); in scan_libs_per_process()
|
/system/core/libunwindstack/benchmarks/ |
D | Utils.cpp | 49 android::meminfo::ProcMemInfo proc_mem(getpid()); in GatherRss()
|