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(); 84 bool SmapsOrRollup(MemUsage* stats) const; 114 MemUsage usage_; 134 bool SmapsOrRollupFromFile(const std::string& path, MemUsage* stats);
|
D | meminfo.h | 29 struct MemUsage { struct 51 MemUsage() in MemUsage() argument 69 ~MemUsage() = default; 95 MemUsage usage;
|
/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() 99 static int show(const MemUsage& proc_stats, const std::vector<Vma>& maps) { in show() 103 const MemUsage& vma_stats = vma.usage; in show() 195 const MemUsage& proc_stats = proc.Usage(); in main()
|
D | librank.cpp | 40 using ::android::meminfo::MemUsage; 76 static void add_mem_usage(MemUsage* to, const MemUsage& from) { in add_mem_usage() 117 const MemUsage& usage() const { return usage_; } in usage() 120 void AddUsage(const MemUsage& mem_usage) { add_mem_usage(&usage_, mem_usage); } in AddUsage() 125 MemUsage usage_; 134 const MemUsage& usage() const { return usage_; } in usage() 137 void AddUsage(const ProcessRecord& proc, const MemUsage& mem_usage) { in AddUsage() 145 MemUsage usage_; 258 const MemUsage& usage = p.usage(); in to_csv() 307 const MemUsage& usage = p.usage(); in to_json() [all …]
|
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 | 54 static void add_mem_usage(MemUsage* to, const MemUsage& from) { in add_mem_usage() 70 static bool parse_smaps_field(const char* line, MemUsage* stats) { in parse_smaps_field() 191 const MemUsage& ProcMemInfo::Usage() { in Usage() 205 const MemUsage& ProcMemInfo::Wss() { in Wss() 244 bool ProcMemInfo::SmapsOrRollup(MemUsage* stats) const { in SmapsOrRollup() 573 bool SmapsOrRollupFromFile(const std::string& path, MemUsage* stats) { in SmapsOrRollupFromFile()
|
D | libmeminfo_benchmark.cpp | 36 using ::android::meminfo::MemUsage; 470 static bool get_smaps_rollup(const std::string path, MemUsage* rollup) { in get_smaps_rollup() 531 MemUsage stats; in BM_SmapsRollup_old() 542 MemUsage stats; in BM_SmapsRollup_new()
|
D | libmeminfo_test.cpp | 58 const MemUsage& usage = proc_mem.Usage(); in TEST() 201 const MemUsage& wss = proc_mem.Wss(); in TEST() 246 MemUsage stats; in TEST() 286 MemUsage stats; in TEST()
|