/external/chromium_org/base/process/ |
process_iterator_linux.cc | 17 // Reads the |field_num|th field from |proc_stats|. 22 const std::vector<std::string>& proc_stats, 29 if (proc_stats.size() > static_cast<size_t>(field_num)) 30 return proc_stats[field_num]; 75 std::vector<std::string> proc_stats; local 99 if (!internal::ParseProcStats(stats_data, &proc_stats)) 103 GetProcStatsFieldAsString(proc_stats, internal::VM_STATE); 124 entry_.ppid_ = GetProcStatsFieldAsInt(proc_stats, internal::VM_PPID); 125 entry_.gid_ = GetProcStatsFieldAsInt(proc_stats, internal::VM_PGRP);
|
process_metrics_linux.cc | 388 std::vector<std::string> proc_stats; local 389 if (!internal::ParseProcStats(input, &proc_stats)) 392 if (proc_stats.size() <= internal::VM_STIME) 394 int utime = GetProcStatsFieldAsInt(proc_stats, internal::VM_UTIME); 395 int stime = GetProcStatsFieldAsInt(proc_stats, internal::VM_STIME);
|
/external/chromium/base/ |
process_util_linux.cc | 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; local 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; local 284 if (!GetProcStats(process_, &proc_stats)) 287 if (proc_stats.size() > kVmPeak) 297 std::vector<std::string> proc_stats; local 311 std::vector<std::string> proc_stats; local [all...] |
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
BandwidthTest.java | 124 NetworkStats proc_stats = post_test_stats.subtract(pre_test_stats); local 133 addStatsToResults(PROC_LABEL, proc_stats, results, mUid); 178 NetworkStats proc_stats = post_test_stats.subtract(pre_test_stats); local 187 addStatsToResults(PROC_LABEL, proc_stats, results, mUid); 235 NetworkStats proc_stats = post_test_stats.subtract(pre_test_stats); local 245 addStatsToResults(PROC_LABEL, proc_stats, results, downloadManagerUid);
|