Home
last modified time | relevance | path

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

/system/memory/libmeminfo/include/meminfo/
Dprocmeminfo.h37 ProcMemInfo(pid_t pid, bool get_wss = false, uint64_t pgflags = 0, uint64_t pgflags_mask = 0);
103 bool ReadMaps(bool get_wss, bool use_pageidle = false, bool get_usage_stats = true,
105 bool ReadVmaStats(int pagemap_fd, Vma& vma, bool get_wss, bool use_pageidle, bool swap_only);
/system/memory/libmeminfo/
Dprocmeminfo.cpp140 ProcMemInfo::ProcMemInfo(pid_t pid, bool get_wss, uint64_t pgflags, uint64_t pgflags_mask) in ProcMemInfo() argument
141 : pid_(pid), get_wss_(get_wss), pgflags_(pgflags), pgflags_mask_(pgflags_mask) {} in ProcMemInfo()
307 bool ProcMemInfo::ReadMaps(bool get_wss, bool use_pageidle, bool get_usage_stats, bool swap_only) { in ReadMaps() argument
343 if (!ReadVmaStats(pagemap_fd.get(), vma, get_wss, use_pageidle, swap_only)) { in ReadMaps()
369 bool ProcMemInfo::ReadVmaStats(int pagemap_fd, Vma& vma, bool get_wss, bool use_pageidle, in ReadVmaStats() argument
372 if (get_wss && use_pageidle && !pinfo.InitPageAcct(true)) { in ReadVmaStats()
386 if (!get_wss) { in ReadVmaStats()
459 if (get_wss) { in ReadVmaStats()
/system/memory/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()