HomeSort by relevance Sort by last modified time
    Searched refs:proc_stats (Results 1 - 5 of 5) sorted by null

  /external/chromium_org/base/process/
internal_linux.h 41 // Takes |stats_data| and populates |proc_stats| with the values split by
45 std::vector<std::string>* proc_stats);
63 // Reads the |field_num|th field from |proc_stats|. Returns 0 on failure.
66 int64 GetProcStatsFieldAsInt64(const std::vector<std::string>& proc_stats,
70 size_t GetProcStatsFieldAsSizeT(const std::vector<std::string>& proc_stats,
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_ = GetProcStatsFieldAsInt64(proc_stats, internal::VM_PPID);
125 entry_.gid_ = GetProcStatsFieldAsInt64(proc_stats, internal::VM_PGRP);
internal_linux.cc 70 std::vector<std::string>* proc_stats) {
91 proc_stats->clear();
93 proc_stats->push_back(stats_data.substr(0, open_parens_idx));
95 proc_stats->push_back(
103 proc_stats->push_back(other_stats[i]);
118 int64 GetProcStatsFieldAsInt64(const std::vector<std::string>& proc_stats,
121 CHECK_LT(static_cast<size_t>(field_num), proc_stats.size());
124 return StringToInt64(proc_stats[field_num], &value) ? value : 0;
127 size_t GetProcStatsFieldAsSizeT(const std::vector<std::string>& proc_stats,
130 CHECK_LT(static_cast<size_t>(field_num), proc_stats.size())
    [all...]
process_metrics_linux.cc 404 std::vector<std::string> proc_stats; local
405 if (!internal::ParseProcStats(input, &proc_stats))
408 if (proc_stats.size() <= internal::VM_STIME)
410 int utime = GetProcStatsFieldAsInt64(proc_stats, internal::VM_UTIME);
411 int stime = GetProcStatsFieldAsInt64(proc_stats, internal::VM_STIME);
  /external/chromium_org/tools/memory_inspector/memory_inspector/backends/
android_backend.py 447 proc_stats = backends.ProcessStats(
456 return proc_stats

Completed in 918 milliseconds