Searched refs:MemUsage (Results 1 – 8 of 8) sorted by relevance
/system/memory/libmeminfo/include/meminfo/ |
D | procmeminfo.h | 40 const MemUsage& Usage(); 41 const MemUsage& Wss(); 79 bool SmapsOrRollup(MemUsage* stats) const; 108 MemUsage usage_; 125 bool SmapsOrRollupFromFile(const std::string& path, MemUsage* stats);
|
D | meminfo.h | 29 struct MemUsage { struct 43 MemUsage() in MemUsage() argument 55 ~MemUsage() = default; 78 MemUsage usage; argument
|
/system/memory/libmeminfo/tools/ |
D | procmem.cpp | 33 using MemUsage = ::android::meminfo::MemUsage; typedef 86 static void print_stats(std::stringstream& ss, const MemUsage& stats) { in print_stats() 98 static int show(const MemUsage& proc_stats, const std::vector<Vma>& maps) { in show() 102 const MemUsage& vma_stats = vma.usage; in show() 194 const MemUsage& proc_stats = proc.Usage(); in main()
|
D | librank.cpp | 40 using ::android::meminfo::MemUsage; 67 static void add_mem_usage(MemUsage* to, const MemUsage& from) { in add_mem_usage() 108 const MemUsage& usage() const { return usage_; } in usage() 111 void AddUsage(const MemUsage& mem_usage) { add_mem_usage(&usage_, mem_usage); } in AddUsage() 116 MemUsage usage_; 125 const MemUsage& usage() const { return usage_; } in usage() 128 void AddUsage(const ProcessRecord& proc, const MemUsage& mem_usage) { in AddUsage() 136 MemUsage usage_; 340 const MemUsage& usage = p.usage(); in main()
|
D | procrank.cpp | 38 using ::android::meminfo::MemUsage; 107 const MemUsage& Usage() const { return usage_or_wss_; } in Usage() 108 const MemUsage& Wss() const { return usage_or_wss_; } in Wss() 117 MemUsage usage_or_wss_; 338 MemUsage stats_a = show_wss ? a.Wss() : a.Usage(); in main() 339 MemUsage stats_b = show_wss ? b.Wss() : b.Usage(); in main() 344 MemUsage stats_a = show_wss ? a.Wss() : a.Usage(); in main() 345 MemUsage stats_b = show_wss ? b.Wss() : b.Usage(); in main() 350 MemUsage stats_a = show_wss ? a.Wss() : a.Usage(); in main() 351 MemUsage stats_b = show_wss ? b.Wss() : b.Usage(); in main() [all …]
|
/system/memory/libmeminfo/ |
D | procmeminfo.cpp | 48 static void add_mem_usage(MemUsage* to, const MemUsage& from) { in add_mem_usage() 64 static bool parse_smaps_field(const char* line, MemUsage* stats) { in parse_smaps_field() 169 const MemUsage& ProcMemInfo::Usage() { in Usage() 183 const MemUsage& ProcMemInfo::Wss() { in Wss() 202 bool ProcMemInfo::SmapsOrRollup(MemUsage* stats) const { in SmapsOrRollup() 513 bool SmapsOrRollupFromFile(const std::string& path, MemUsage* stats) { in SmapsOrRollupFromFile()
|
D | libmeminfo_benchmark.cpp | 35 using ::android::meminfo::MemUsage; 468 static bool get_smaps_rollup(const std::string path, MemUsage* rollup) { in get_smaps_rollup() 529 MemUsage stats; in BM_SmapsRollup_old() 540 MemUsage stats; in BM_SmapsRollup_new()
|
D | libmeminfo_test.cpp | 50 const MemUsage& usage = proc_mem.Usage(); in TEST() 193 const MemUsage& wss = proc_mem.Wss(); in TEST() 244 MemUsage stats; in TEST() 284 MemUsage stats; in TEST()
|