Home
last modified time | relevance | path

Searched refs:utime (Results 1 – 8 of 8) sorted by relevance

/system/extras/boottime_tools/bootio/
Dbootio_collector.cpp41 long unsigned utime, ntime, stime, itime; in PopulateCpu() local
46 fscanf(file, "cpu %lu %lu %lu %lu %lu %lu %lu", &utime, &ntime, &stime, in PopulateCpu()
49 cpu.set_utime(utime); in PopulateCpu()
126 uint64_t utime; in ReadStat() local
136 &utime, in ReadStat()
139 sample->set_utime(utime); in ReadStat()
204 return cpu.utime() + cpu.ntime() + cpu.stime() + cpu.itime() + cpu.iowtime() + in SumCpuValues()
269 cpuLoad = (newerSample->utime() - olderSample->utime() + in PrintPids()
Dprotos.proto27 required int64 utime = 3; field
52 required int64 utime = 9; field
/system/extras/cpustats/
Dcpustats.c45 long unsigned utime, ntime, stime, itime, iowtime, irqtime, sirqtime; member
248 fscanf(file, "cpu %lu %lu %lu %lu %lu %lu %lu %*d %*d %*d\n", &new_total_cpu.utime, in read_stats()
259 fscanf(file, scanline, &new_cpus[i].utime, &new_cpus[i].ntime, &new_cpus[i].stime, in read_stats()
297 return (cpu->utime + cpu->ntime + cpu->stime + cpu->itime + cpu->iowtime + cpu->irqtime + in get_cpu_total_time()
330 label, new_cpu->utime - old_cpu->utime, new_cpu->ntime - old_cpu->ntime, in print_cpu_stats()
338 printf("%s,%ld,%ld,%ld,%ld,%ld,%ld,%ld", label, new_cpu->utime - old_cpu->utime, in print_cpu_stats()
/system/extras/ANRdaemon/
DANRdaemon.cpp73 unsigned long utime, ntime, stime, itime; member
129 if (fscanf(fp, params, &cpu->utime, &cpu->ntime, &cpu->stime, &cpu->itime, &cpu->iowtime, in get_cpu_stat()
140 cpu->total = cpu->utime + cpu->ntime + cpu->stime + cpu->itime + cpu->iowtime + in get_cpu_stat()
/system/core/bootstat/
Dboot_event_record_store.cpp89 if (utime(record_path.c_str(), &times) == -1) { in AddBootEventWithValue()
/system/core/llkd/
Dlibllkd.cpp1032 unsigned utime = -1; in llkCheck() local
1041 &tid, pdir, &state, &ppid, &utime, &stime, &dummy); in llkCheck()
1046 << ppid << " ... " << utime << ' ' << stime << ' ' << dummy; in llkCheck()
1057 procp = llkTidAlloc(tid, pid, ppid, pdir, utime + stime, state, frozen); in llkCheck()
1068 } else if (procp->time != (utime + stime)) { // secondary ABA. in llkCheck()
1075 procp->time = utime + stime; in llkCheck()
/system/update_engine/common/
Dutils.h344 std::string GetTimeAsString(time_t utime);
Dutils.cc1001 string GetTimeAsString(time_t utime) { in GetTimeAsString() argument
1003 CHECK_EQ(localtime_r(&utime, &tm), &tm); in GetTimeAsString()