Lines Matching refs:process
71 // Get the total CPU of a single process. Return value is number of jiffies
108 ProcessId GetParentProcessId(ProcessHandle process) {
113 stat_file = stat_file.Append(base::IntToString(process));
143 FilePath GetProcessExecutablePath(ProcessHandle process) {
145 stat_file = stat_file.Append(base::IntToString(process));
149 // No such process. Happens frequently in e.g. TerminateAllChromeProcesses
175 // Arbitrarily guess that there will never be more than 200 non-process
185 // If not a process, keep looking for one.
199 // Read the process's command line.
205 // Read the process's status.
227 // Is the process in 'Zombie' state, i.e. dead but waiting to be reaped?
263 ProcessMetrics* ProcessMetrics::CreateProcessMetrics(ProcessHandle process) {
264 return new ProcessMetrics(process);
271 LOG(WARNING) << "Failed to get process stats.";
285 LOG(WARNING) << "Failed to get process stats.";
299 LOG(WARNING) << "Failed to get process stats.";
313 LOG(WARNING) << "Failed to get process stats.";
517 ProcessMetrics::ProcessMetrics(ProcessHandle process)
518 : process_(process),
528 // /proc/<pid>/stat contains the process name in parens. In case the
529 // process name itself contains parens, skip past them.
699 bool AdjustOOMScore(ProcessId process, int score) {
704 oom_adj = oom_adj.Append(base::Int64ToString(process));