Home | History | Annotate | Download | only in base

Lines Matching full:proc_stats

34 // Reads /proc/<pid>/stat and populates |proc_stats| with the values split by
36 bool GetProcStats(pid_t pid, std::vector<std::string>* proc_stats) {
46 base::SplitString(mem_stats, ' ', proc_stats);
269 std::vector<std::string> proc_stats;
270 if (!GetProcStats(process_, &proc_stats))
273 if (proc_stats.size() > kVmSize) {
275 base::StringToInt(proc_stats[kVmSize], &vm_size);
283 std::vector<std::string> proc_stats;
284 if (!GetProcStats(process_, &proc_stats))
287 if (proc_stats.size() > kVmPeak) {
289 if (base::StringToInt(proc_stats[kVmPeak], &vm_peak))
297 std::vector<std::string> proc_stats;
298 if (!GetProcStats(process_, &proc_stats))
301 if (proc_stats.size() > kVmRss) {
303 if (base::StringToInt(proc_stats[kVmRss], &num_pages))
311 std::vector<std::string> proc_stats;
312 if (!GetProcStats(process_, &proc_stats))
315 if (proc_stats.size() > kVmHwm) {
317 base::StringToInt(proc_stats[kVmHwm], &num_pages);