Home
last modified time | relevance | path

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

/system/core/toolbox/
Dtop.c46 long unsigned utime, ntime, stime, itime; member
63 uint64_t utime; member
243 fscanf(file, "cpu %lu %lu %lu %lu %lu %lu %lu", &new_cpu.utime, &new_cpu.ntime, &new_cpu.stime, in read_procs()
357 &proc->utime, in read_stat()
437 new_procs[i]->delta_utime = new_procs[i]->utime - old_proc->utime; in print_procs()
447 total_delta_time = (new_cpu.utime + new_cpu.ntime + new_cpu.stime + new_cpu.itime in print_procs()
449 - (old_cpu.utime + old_cpu.ntime + old_cpu.stime + old_cpu.itime in print_procs()
456 … ((new_cpu.utime + new_cpu.ntime) - (old_cpu.utime + old_cpu.ntime)) * 100 / total_delta_time, in print_procs()
462 new_cpu.utime - old_cpu.utime, in print_procs()
Dps.c56 unsigned utime, stime; in ps_line() local
110 utime = atoi(nexttok(&ptr)); in ps_line()
200 printf(" (u:%d, s:%d)", utime, stime); in ps_line()
/system/extras/cpustats/
Dcpustats.c45 long unsigned utime, ntime, stime, itime, iowtime, irqtime, sirqtime; member
242 &new_total_cpu.utime, &new_total_cpu.ntime, &new_total_cpu.stime, &new_total_cpu.itime, in read_stats()
252 fscanf(file, scanline, &new_cpus[i].utime, &new_cpus[i].ntime, &new_cpus[i].stime, in read_stats()
292 return (cpu->utime + cpu->ntime + cpu->stime + cpu->itime + cpu->iowtime + cpu->irqtime + in get_cpu_total_time()
325 new_cpu->utime - old_cpu->utime, in print_cpu_stats()
338 new_cpu->utime - old_cpu->utime, in print_cpu_stats()
/system/update_engine/
Dmain.cc59 string GetTimeAsString(time_t utime) { in GetTimeAsString() argument
61 CHECK_EQ(localtime_r(&utime, &tm), &tm); in GetTimeAsString()
/system/extras/ANRdaemon/
DANRdaemon.cpp72 unsigned long utime, ntime, stime, itime; member
136 if (fscanf(fp, params, &cpu->utime, &cpu->ntime, in get_cpu_stat()
147 cpu->total = cpu->utime + cpu->ntime + cpu->stime + cpu->itime in get_cpu_stat()
/system/core/bootstat/
Dboot_event_record_store.cpp111 if (utime(record_path.c_str(), &times) == -1) { in AddBootEventWithValue()
/system/core/adb/
Dfile_sync_service.cpp215 utime(path, &u); in handle_send_file()
Dsysdeps.h374 #define utime adb_utime macro
Dfile_sync_client.cpp870 int r1 = utime(lpath.c_str(), &times); in set_time_and_mode()