Home
last modified time | relevance | path

Searched refs:utime (Results 1 – 10 of 10) 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/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.cpp1031 unsigned utime = -1; in llkCheck() local
1040 &tid, pdir, &state, &ppid, &utime, &stime, &dummy); in llkCheck()
1045 << ppid << " ... " << utime << ' ' << stime << ' ' << dummy; in llkCheck()
1056 procp = llkTidAlloc(tid, pid, ppid, pdir, utime + stime, state, frozen); in llkCheck()
1067 } else if (procp->time != (utime + stime)) { // secondary ABA. in llkCheck()
1074 procp->time = utime + stime; in llkCheck()
/system/update_engine/common/
Dutils.h321 std::string GetTimeAsString(time_t utime);
Dutils.cc973 string GetTimeAsString(time_t utime) { in GetTimeAsString() argument
975 CHECK_EQ(localtime_r(&utime, &tm), &tm); in GetTimeAsString()
/system/core/adb/
Dsysdeps.h255 #define utime adb_utime macro
/system/core/adb/client/
Dfile_sync_client.cpp1595 int r1 = utime(lpath.c_str(), &times); in set_time_and_mode()