Home
last modified time | relevance | path

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

12

/aosp12/system/extras/boottime_tools/bootio/
H A 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()
H A Dprotos.proto27 required int64 utime = 3; field
52 required int64 utime = 9; field
/aosp12/system/extras/cpustats/
H A 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()
/aosp12/art/runtime/native/
H A Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc174 int utime; in ThreadStatsGetterCallback() local
177 GetTaskStats(t->GetTid(), &native_thread_state, &utime, &stime, &task_cpu); in ThreadStatsGetterCallback()
183 Append4BE(bytes, utime); in ThreadStatsGetterCallback()
/aosp12/art/libartbase/base/
H A Dutils.cc306 void GetTaskStats(pid_t tid, char* state, int* utime, int* stime, int* task_cpu) { in GetTaskStats() argument
307 *utime = *stime = *task_cpu = 0; in GetTaskStats()
324 *utime = strtoull(fields[11].c_str(), nullptr, 10); in GetTaskStats()
H A Dutils.h69 void GetTaskStats(pid_t tid, char* state, int* utime, int* stime, int* task_cpu);
/aosp12/bionic/libc/include/
H A Dutime.h50 int utime(const char* _Nonnull __filename, const struct utimbuf* _Nullable __times);
/aosp12/bionic/tests/headers/posix/
H A Dutime_h.c40 FUNCTION(utime, int (*f)(const char*, const struct utimbuf*)); in utime_h()
/aosp12/bionic/libc/upstream-netbsd/lib/libc/gen/
H A Dutime.c50 utime(const char *path, const struct utimbuf *times) in utime() function
/aosp12/system/extras/ANRdaemon/
H A 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()
/aosp12/hardware/google/pixel/perfstatsd/
H A Dcpu_usage.cpp91 uint64_t utime = 0; in profileProcess() local
97 !base::ParseUint(fields[13], &utime) || in profileProcess()
107 uint64_t user = utime + cutime; in profileProcess()
/aosp12/bionic/libc/kernel/uapi/linux/raid/
H A Dmd_p.h86 __u32 utime; member
165 __le64 utime; member
H A Dmd_u.h63 unsigned int utime; member
/aosp12/frameworks/base/core/java/com/android/internal/os/
H A DProcessCpuTracker.java468 final long utime = procStats[PROCESS_STAT_UTIME] * mJiffyMillis; in collectStats()
471 if (utime == st.base_utime && stime == st.base_stime) { in collectStats()
495 + " utime=" + utime + "-" + st.base_utime in collectStats()
502 st.rel_utime = (int)(utime - st.base_utime); in collectStats()
504 st.base_utime = utime; in collectStats()
/aosp12/system/core/llkd/
H A 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()
/aosp12/system/core/bootstat/
H A Dboot_event_record_store.cpp89 if (utime(record_path.c_str(), &times) == -1) { in AddBootEventWithValue()
/aosp12/build/make/tools/
H A Dcompare_builds.py499 os.utime(filename)
503 os.utime(filename)
/aosp12/hardware/google/camera/common/hal/hidl_service/
H A Dlibc_wrappers.cc115 extern "C" int utime(const char* filename, struct utimbuf* buf) { in utime() function
/aosp12/frameworks/native/cmds/installd/tests/
H A Dinstalld_cache_test.cpp81 ::utime(fullPath.c_str(), &times); in touch()
/aosp12/system/update_engine/common/
H A Dutils.h344 std::string GetTimeAsString(time_t utime);
H A Dutils.cc1001 string GetTimeAsString(time_t utime) { in GetTimeAsString() argument
1003 CHECK_EQ(localtime_r(&utime, &tm), &tm); in GetTimeAsString()
/aosp12/hardware/qcom/wlan/qcwcn/wcnss-service/
H A Dwcnss_service.c316 rc = utime(WLAN_INI_FILE_DEST, &new_time); in setup_wlan_config_file()
/aosp12/build/make/tools/libhost/
H A DCopyFile.c173 if (utime(dst, &ut) != 0) { in setPermissions()
/aosp12/frameworks/native/cmds/rawbu/
H A Dbackup.cpp611 if (utime(path, &timbuf) != 0) { in restore_data()
/aosp12/frameworks/native/cmds/dumpstate/
H A Ddumpstate.cpp3684 unsigned long long utime = 0, stime = 0, iotime = 0; in show_showtime() local
3690 &utime, &stime, &iotime) != 3) { in show_showtime()
3694 unsigned long long total = utime + stime; in show_showtime()
3706 if ((name[0] != '[') || utime) { in show_showtime()
3707 snprcent(buffer, sizeof(buffer), 57, utime); in show_showtime()

12