Searched refs:MemUsage (Results 1 – 8 of 8) sorted by relevance
/system/core/libmeminfo/include/meminfo/ |
D | procmeminfo.h | 40 const MemUsage& Usage(); 41 const MemUsage& Wss(); 72 bool SmapsOrRollup(MemUsage* stats) const; 101 MemUsage usage_; 118 bool SmapsOrRollupFromFile(const std::string& path, MemUsage* stats);
|
D | meminfo.h | 29 struct MemUsage { struct 43 MemUsage() in MemUsage() function 55 ~MemUsage() = default; 78 MemUsage usage; argument
|
/system/core/libmeminfo/tools/ |
D | procmem.cpp | 32 using MemUsage = ::android::meminfo::MemUsage; typedef 85 static void print_stats(std::stringstream& ss, const MemUsage& stats) { in print_stats() 97 static int show(const MemUsage& proc_stats, const std::vector<Vma>& maps) { in show() 101 const MemUsage& vma_stats = vma.usage; in show() 185 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; 106 const MemUsage& Usage() const { return usage_or_wss_; } in Usage() 107 const MemUsage& Wss() const { return usage_or_wss_; } in Wss() 116 MemUsage usage_or_wss_; 337 MemUsage stats_a = show_wss ? a.Wss() : a.Usage(); in main() 338 MemUsage stats_b = show_wss ? b.Wss() : b.Usage(); in main() 343 MemUsage stats_a = show_wss ? a.Wss() : a.Usage(); in main() 344 MemUsage stats_b = show_wss ? b.Wss() : b.Usage(); in main() 349 MemUsage stats_a = show_wss ? a.Wss() : a.Usage(); in main() 350 MemUsage stats_b = show_wss ? b.Wss() : b.Usage(); in main() [all …]
|
/system/core/libmeminfo/ |
D | procmeminfo.cpp | 43 static void add_mem_usage(MemUsage* to, const MemUsage& from) { in add_mem_usage() 59 static bool parse_smaps_field(const char* line, MemUsage* stats) { in parse_smaps_field() 151 const MemUsage& ProcMemInfo::Usage() { in Usage() 165 const MemUsage& ProcMemInfo::Wss() { in Wss() 184 bool ProcMemInfo::SmapsOrRollup(MemUsage* stats) const { in SmapsOrRollup() 446 bool SmapsOrRollupFromFile(const std::string& path, MemUsage* stats) { in SmapsOrRollupFromFile()
|
D | libmeminfo_benchmark.cpp | 35 using ::android::meminfo::MemUsage; 465 static bool get_smaps_rollup(const std::string path, MemUsage* rollup) { in get_smaps_rollup() 526 MemUsage stats; in BM_SmapsRollup_old() 537 MemUsage stats; in BM_SmapsRollup_new()
|
D | libmeminfo_test.cpp | 48 const MemUsage& usage = proc_mem.Usage(); in TEST() 67 const MemUsage& wss = proc_mem.Wss(); in TEST() 118 MemUsage stats; in TEST() 158 MemUsage stats; in TEST()
|