/aosp12/system/extras/boottime_tools/bootio/ |
H A D | bootio_collector.cpp | 41 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 D | protos.proto | 27 required int64 utime = 3; field 52 required int64 utime = 9; field
|
/aosp12/system/extras/cpustats/ |
H A D | cpustats.c | 45 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 D | org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 174 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 D | utils.cc | 306 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 D | utils.h | 69 void GetTaskStats(pid_t tid, char* state, int* utime, int* stime, int* task_cpu);
|
/aosp12/bionic/libc/include/ |
H A D | utime.h | 50 int utime(const char* _Nonnull __filename, const struct utimbuf* _Nullable __times);
|
/aosp12/bionic/tests/headers/posix/ |
H A D | utime_h.c | 40 FUNCTION(utime, int (*f)(const char*, const struct utimbuf*)); in utime_h()
|
/aosp12/bionic/libc/upstream-netbsd/lib/libc/gen/ |
H A D | utime.c | 50 utime(const char *path, const struct utimbuf *times) in utime() function
|
/aosp12/system/extras/ANRdaemon/ |
H A D | ANRdaemon.cpp | 73 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 D | cpu_usage.cpp | 91 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 D | md_p.h | 86 __u32 utime; member 165 __le64 utime; member
|
H A D | md_u.h | 63 unsigned int utime; member
|
/aosp12/frameworks/base/core/java/com/android/internal/os/ |
H A D | ProcessCpuTracker.java | 468 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 D | libllkd.cpp | 1032 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 D | boot_event_record_store.cpp | 89 if (utime(record_path.c_str(), ×) == -1) { in AddBootEventWithValue()
|
/aosp12/build/make/tools/ |
H A D | compare_builds.py | 499 os.utime(filename) 503 os.utime(filename)
|
/aosp12/hardware/google/camera/common/hal/hidl_service/ |
H A D | libc_wrappers.cc | 115 extern "C" int utime(const char* filename, struct utimbuf* buf) { in utime() function
|
/aosp12/frameworks/native/cmds/installd/tests/ |
H A D | installd_cache_test.cpp | 81 ::utime(fullPath.c_str(), ×); in touch()
|
/aosp12/system/update_engine/common/ |
H A D | utils.h | 344 std::string GetTimeAsString(time_t utime);
|
H A D | utils.cc | 1001 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 D | wcnss_service.c | 316 rc = utime(WLAN_INI_FILE_DEST, &new_time); in setup_wlan_config_file()
|
/aosp12/build/make/tools/libhost/ |
H A D | CopyFile.c | 173 if (utime(dst, &ut) != 0) { in setPermissions()
|
/aosp12/frameworks/native/cmds/rawbu/ |
H A D | backup.cpp | 611 if (utime(path, &timbuf) != 0) { in restore_data()
|
/aosp12/frameworks/native/cmds/dumpstate/ |
H A D | dumpstate.cpp | 3684 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()
|