Home
last modified time | relevance | path

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

/external/libchrome/base/process/
Dinternal_linux.cc124 ProcStatsFields field_num) { in GetProcStatsFieldAsInt64() argument
125 DCHECK_GE(field_num, VM_PPID); in GetProcStatsFieldAsInt64()
126 CHECK_LT(static_cast<size_t>(field_num), proc_stats.size()); in GetProcStatsFieldAsInt64()
129 return StringToInt64(proc_stats[field_num], &value) ? value : 0; in GetProcStatsFieldAsInt64()
133 ProcStatsFields field_num) { in GetProcStatsFieldAsSizeT() argument
134 DCHECK_GE(field_num, VM_PPID); in GetProcStatsFieldAsSizeT()
135 CHECK_LT(static_cast<size_t>(field_num), proc_stats.size()); in GetProcStatsFieldAsSizeT()
138 return StringToSizeT(proc_stats[field_num], &value) ? value : 0; in GetProcStatsFieldAsSizeT()
142 ProcStatsFields field_num) { in ReadStatFileAndGetFieldAsInt64() argument
149 return GetProcStatsFieldAsInt64(proc_stats, field_num); in ReadStatFileAndGetFieldAsInt64()
[all …]
Dinternal_aix.cc116 ProcStatsFields field_num) { in GetProcStatsFieldAsInt64() argument
117 DCHECK_GE(field_num, VM_PPID); in GetProcStatsFieldAsInt64()
118 CHECK_LT(static_cast<size_t>(field_num), proc_stats.size()); in GetProcStatsFieldAsInt64()
121 return StringToInt64(proc_stats[field_num], &value) ? value : 0; in GetProcStatsFieldAsInt64()
125 ProcStatsFields field_num) { in GetProcStatsFieldAsSizeT() argument
126 DCHECK_GE(field_num, VM_PPID); in GetProcStatsFieldAsSizeT()
127 CHECK_LT(static_cast<size_t>(field_num), proc_stats.size()); in GetProcStatsFieldAsSizeT()
130 return StringToSizeT(proc_stats[field_num], &value) ? value : 0; in GetProcStatsFieldAsSizeT()
133 int64_t ReadProcStatsAndGetFieldAsInt64(pid_t pid, ProcStatsFields field_num) { in ReadProcStatsAndGetFieldAsInt64() argument
141 return GetProcStatsFieldAsInt64(proc_stats, field_num); in ReadProcStatsAndGetFieldAsInt64()
[all …]
Dinternal_linux.h71 ProcStatsFields field_num);
75 ProcStatsFields field_num);
80 ProcStatsFields field_num);
81 int64_t ReadProcStatsAndGetFieldAsInt64(pid_t pid, ProcStatsFields field_num);
82 int64_t ReadProcSelfStatsAndGetFieldAsInt64(ProcStatsFields field_num);
86 ProcStatsFields field_num);
Dinternal_aix.h68 ProcStatsFields field_num);
72 ProcStatsFields field_num);
76 int64_t ReadProcStatsAndGetFieldAsInt64(pid_t pid, ProcStatsFields field_num);
79 size_t ReadProcStatsAndGetFieldAsSizeT(pid_t pid, ProcStatsFields field_num);
Dprocess_iterator_linux.cc26 internal::ProcStatsFields field_num) { in GetProcStatsFieldAsString() argument
27 if (field_num < internal::VM_COMM || field_num > internal::VM_STATE) { in GetProcStatsFieldAsString()
32 if (proc_stats.size() > static_cast<size_t>(field_num)) in GetProcStatsFieldAsString()
33 return proc_stats[field_num]; in GetProcStatsFieldAsString()
/external/perfetto/src/traced/probes/android_log/
Dandroid_log_data_source.cc371 size_t field_num = 0; in ParseBinaryEvent() local
374 if (field_num >= fmt->fields.size()) in ParseBinaryEvent()
376 const char* field_name = fmt->fields[field_num].c_str(); in ParseBinaryEvent()
385 field_num++; in ParseBinaryEvent()
395 field_num++; in ParseBinaryEvent()
405 field_num++; in ParseBinaryEvent()
416 field_num++; in ParseBinaryEvent()
421 if (field_num > 0) { in ParseBinaryEvent()
433 static_cast<int>(type), fmt->name.c_str(), buf - start, field_num); in ParseBinaryEvent()
/external/perfetto/src/trace_processor/
Devent_tracker.cc112 auto add_raw_arg = [this](RowId row_id, int field_num, in PushSchedSwitch()
114 StringId key = sched_switch_field_ids_[static_cast<size_t>(field_num)]; in PushSchedSwitch()