Lines Matching defs:field
51 // Read /proc/<pid>/status and return the value for |field|, or 0 on failure.
53 size_t ReadProcStatusAndGetFieldAsSizeT(pid_t pid, const std::string& field) {
69 if (key == field) {
89 // Read /proc/<pid>/sched and look for |field|. On succes, return true and
90 // write the value for |field| into |result|.
91 // Only works for fields in the form of "field : uint_value"
93 const std::string& field,
110 if (key == field) {
430 // Field 2 -- # of reads merged, field 6 -- # of writes merged
434 // as only one I/O. This field lets you know how often this was done.
443 // See the description of field 2.
450 // The only field that should go to zero. Incremented as requests are
454 // This field increases so long as field 9 is nonzero.
456 // This field is incremented at each I/O start, I/O completion, I/O
458 // (field 9) times the number of milliseconds spent doing I/O since the
459 // last update of this field. This can provide an easy measure of both