Home
last modified time | relevance | path

Searched refs:proc_stat (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/base/process/
Dinternal_linux.cc178 ProcStatMap proc_stat; in GetBootTime() local
179 ParseProcStat(contents, &proc_stat); in GetBootTime()
180 ProcStatMap::const_iterator btime_it = proc_stat.find("btime"); in GetBootTime()
181 if (btime_it == proc_stat.end()) in GetBootTime()
195 ProcStatMap proc_stat; in GetUserCpuTimeSinceBoot() local
196 ParseProcStat(contents, &proc_stat); in GetUserCpuTimeSinceBoot()
197 ProcStatMap::const_iterator cpu_it = proc_stat.find("cpu"); in GetUserCpuTimeSinceBoot()
198 if (cpu_it == proc_stat.end()) in GetUserCpuTimeSinceBoot()
/external/grpc-grpc/test/cpp/qps/
Dusage_timer.cc58 std::ifstream proc_stat("/proc/stat"); in get_cpu_usage() local
59 proc_stat.ignore(5); in get_cpu_usage()
62 std::getline(proc_stat, first_line); in get_cpu_usage()
/external/autotest/client/site_tests/power_HotCPUSuspend/
Dpower_HotCPUSuspend.py27 proc_stat = utils.read_file('/proc/stat')
28 for line in proc_stat.split('\n'):
/external/autotest/client/bin/
Dutils.py1334 with _open_file('/proc/stat') as proc_stat:
1335 cpu_usage_str = proc_stat.readline().split()
/external/perfetto/docs/data-sources/
Dmemory-counters.md17 ![](/docs/images/proc_stat.png "UI showing trace data collected by process stats pollers")