Home
last modified time | relevance | path

Searched refs:mem_usage (Results 1 – 2 of 2) sorted by relevance

/system/core/libmeminfo/tools/
Dlibrank.cpp111 void AddUsage(const MemUsage& mem_usage) { add_mem_usage(&usage_, mem_usage); } in AddUsage()
128 void AddUsage(const ProcessRecord& proc, const MemUsage& mem_usage) { in AddUsage()
130 it->second.AddUsage(mem_usage); in AddUsage()
131 add_mem_usage(&usage_, mem_usage); in AddUsage()
/system/core/lmkd/
Dlmkd.c1461 int64_t mem_usage; in get_memory_usage() local
1468 if (!parse_int64(buf, &mem_usage)) { in get_memory_usage()
1472 if (mem_usage == 0) { in get_memory_usage()
1476 return mem_usage; in get_memory_usage()
1536 int64_t mem_usage, memsw_usage; in mp_event_common() local
1646 if ((mem_usage = get_memory_usage(&mem_usage_file_data)) < 0) { in mp_event_common()
1654 mem_pressure = (mem_usage * 100) / memsw_usage; in mp_event_common()