Home
last modified time | relevance | path

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

/external/chromium/base/
Dprocess_util_linux.cc575 std::vector<std::string> meminfo_fields; in GetSystemCommitCharge() local
576 SplitStringAlongWhitespace(meminfo_data, &meminfo_fields); in GetSystemCommitCharge()
578 if (meminfo_fields.size() < kMemCacheIndex) { in GetSystemCommitCharge()
580 meminfo_fields.size() << " fields."; in GetSystemCommitCharge()
584 DCHECK_EQ(meminfo_fields[kMemTotalIndex-1], "MemTotal:"); in GetSystemCommitCharge()
585 DCHECK_EQ(meminfo_fields[kMemFreeIndex-1], "MemFree:"); in GetSystemCommitCharge()
586 DCHECK_EQ(meminfo_fields[kMemBuffersIndex-1], "Buffers:"); in GetSystemCommitCharge()
587 DCHECK_EQ(meminfo_fields[kMemCacheIndex-1], "Cached:"); in GetSystemCommitCharge()
590 base::StringToInt(meminfo_fields[kMemTotalIndex], &mem_total); in GetSystemCommitCharge()
591 base::StringToInt(meminfo_fields[kMemFreeIndex], &mem_free); in GetSystemCommitCharge()
[all …]