Home
last modified time | relevance | path

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

/system/core/libmeminfo/include/meminfo/
Dprocmeminfo.h37 ProcMemInfo(pid_t pid, bool get_wss = false, uint64_t pgflags = 0, uint64_t pgflags_mask = 0);
91 bool ReadMaps(bool get_wss, bool use_pageidle = false);
92 bool ReadVmaStats(int pagemap_fd, Vma& vma, bool get_wss, bool use_pageidle);
/system/core/libmeminfo/
Dprocmeminfo.cpp113 ProcMemInfo::ProcMemInfo(pid_t pid, bool get_wss, uint64_t pgflags, uint64_t pgflags_mask) in ProcMemInfo() argument
114 : pid_(pid), get_wss_(get_wss), pgflags_(pgflags), pgflags_mask_(pgflags_mask) {} in ProcMemInfo()
237 bool ProcMemInfo::ReadMaps(bool get_wss, bool use_pageidle) { in ReadMaps() argument
267 if (!ReadVmaStats(pagemap_fd.get(), vma, get_wss, use_pageidle)) { in ReadMaps()
279 bool ProcMemInfo::ReadVmaStats(int pagemap_fd, Vma& vma, bool get_wss, bool use_pageidle) { in ReadVmaStats() argument
292 if (get_wss && use_pageidle) { in ReadVmaStats()
302 if (!get_wss) { in ReadVmaStats()
340 if (get_wss) { in ReadVmaStats()
/system/core/libmeminfo/tools/
Dprocrank.cpp43 ProcessRecord(pid_t pid, bool get_wss = false, uint64_t pgflags = 0, uint64_t pgflags_mask = 0) in ProcessRecord()
51 std::make_unique<ProcMemInfo>(pid, get_wss, pgflags, pgflags_mask); in ProcessRecord()
81 usage_or_wss_ = get_wss ? procmem->Wss() : procmem->Usage(); in ProcessRecord()