Home
last modified time | relevance | path

Searched refs:utime (Results 1 – 9 of 9) 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
245 &new_total_cpu.utime, &new_total_cpu.ntime, &new_total_cpu.stime, &new_total_cpu.itime, in read_stats()
255 fscanf(file, scanline, &new_cpus[i].utime, &new_cpus[i].ntime, &new_cpus[i].stime, in read_stats()
295 return (cpu->utime + cpu->ntime + cpu->stime + cpu->itime + cpu->iowtime + cpu->irqtime + in get_cpu_total_time()
328 new_cpu->utime - old_cpu->utime, in print_cpu_stats()
341 new_cpu->utime - old_cpu->utime, in print_cpu_stats()
/system/update_engine/
Dmain.cc45 string GetTimeAsString(time_t utime) { in GetTimeAsString() argument
47 CHECK_EQ(localtime_r(&utime, &tm), &tm); in GetTimeAsString()
/system/extras/ANRdaemon/
DANRdaemon.cpp73 unsigned long utime, ntime, stime, itime; member
138 if (fscanf(fp, params, &cpu->utime, &cpu->ntime, in get_cpu_stat()
150 cpu->total = cpu->utime + cpu->ntime + cpu->stime + cpu->itime 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.cpp1023 unsigned utime = -1; in llkCheck() local
1032 &tid, pdir, &state, &ppid, &utime, &stime, &dummy); in llkCheck()
1037 << ppid << " ... " << utime << ' ' << stime << ' ' << dummy; in llkCheck()
1044 procp = llkTidAlloc(tid, pid, ppid, pdir, utime + stime, state); in llkCheck()
1053 } else if (procp->time != (utime + stime)) { // secondary ABA. in llkCheck()
1060 procp->time = utime + stime; in llkCheck()
/system/core/adb/
Dsysdeps.h239 #define utime adb_utime macro
/system/core/adb/client/
Dfile_sync_client.cpp1110 int r1 = utime(lpath.c_str(), &times); in set_time_and_mode()