Home
last modified time | relevance | path

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

/system/memory/libmeminfo/include/meminfo/
Dprocmeminfo.h39 ProcMemInfo(pid_t pid, bool get_wss = false, uint64_t pgflags = 0, uint64_t pgflags_mask = 0);
60 bool GetUsageStats(bool get_wss, bool use_pageidle = false, bool update_mem_usage = true);
134 bool ReadMaps(bool get_wss, bool use_pageidle = false, bool get_usage_stats = true,
136 bool ReadVmaStats(int pagemap_fd, Vma& vma, bool get_wss, bool use_pageidle,
/system/memory/libmeminfo/libsmapinfo/
Dprocessrecord.cpp42 ProcessRecord::ProcessRecord(pid_t pid, bool get_wss, uint64_t pgflags, uint64_t pgflags_mask, in ProcessRecord() argument
44 : procmem_(pid, get_wss, pgflags, pgflags_mask), in ProcessRecord()
100 usage_or_wss_ = get_wss ? procmem_.Wss() : procmem_.Usage(); in ProcessRecord()
Dsmapinfo.cpp320 bool get_oomadj, bool get_wss, SortOrder sort_order, bool reverse_sort, in run_procrank() argument
337 .show_wss = get_wss, in run_procrank()
/system/memory/libmeminfo/tools/
Dprocrank.cpp70 bool get_wss = false; in main() local
124 get_wss = true; in main()
191 get_wss, sort_order, reverse_sort, nullptr, in main()
/system/memory/libmeminfo/
Dprocmeminfo.cpp169 ProcMemInfo::ProcMemInfo(pid_t pid, bool get_wss, uint64_t pgflags, uint64_t pgflags_mask) in ProcMemInfo() argument
170 : pid_(pid), get_wss_(get_wss), pgflags_(pgflags), pgflags_mask_(pgflags_mask) {} in ProcMemInfo()
394 bool ProcMemInfo::ReadMaps(bool get_wss, bool use_pageidle, bool get_usage_stats, in ReadMaps() argument
425 if (!GetUsageStats(get_wss, use_pageidle, update_mem_usage)) { in ReadMaps()
432 bool ProcMemInfo::GetUsageStats(bool get_wss, bool use_pageidle, bool update_mem_usage) { in GetUsageStats() argument
439 if (!ReadVmaStats(pagemap_fd.get(), vma, get_wss, use_pageidle, update_mem_usage, true)) { in GetUsageStats()
467 bool ProcMemInfo::ReadVmaStats(int pagemap_fd, Vma& vma, bool get_wss, bool use_pageidle, in ReadVmaStats() argument
470 if (get_wss && use_pageidle && !pinfo.InitPageAcct(true)) { in ReadVmaStats()
554 if (get_wss) { in ReadVmaStats()
577 if (!get_wss) { in ReadVmaStats()
/system/memory/libmeminfo/libsmapinfo/include/
Dprocessrecord.h35 ProcessRecord(pid_t pid, bool get_wss, uint64_t pgflags, uint64_t pgflags_mask,
Dsmapinfo.h45 bool get_oomadj, bool get_wss, SortOrder sort_order, bool reverse_sort,