/third_party/musl/include/ |
H A D | utime.h | 19 int utime (const char *, const struct utimbuf *); 22 __REDIR(utime, __utime64);
|
/third_party/skia/third_party/externals/zlib/contrib/bench/ |
H A D | zlib_bench.cc | 237 double utime[runs]; in zlib_file() local 264 utime[run] = std::chrono::duration<double>(now() - start).count(); in zlib_file() 278 std::sort(utime, utime + runs); in zlib_file() 281 double inflate_rate_med = length * repeats / mega_byte / utime[runs / 2]; in zlib_file() 283 double inflate_rate_max = length * repeats / mega_byte / utime[0]; in zlib_file()
|
/third_party/rust/crates/rustix/src/thread/ |
H A D | futex.rs | 14 /// `futex(uaddr, op, val, utime, uaddr2, val3)` 33 utime: *const Timespec, in futex() 37 backend::thread::syscalls::futex(uaddr, op, flags, val, utime, uaddr2, val3) in futex()
|
/kernel/linux/linux-5.10/kernel/time/ |
H A D | posix-cpu-timers.c | 189 u64 utime, stime; in cpu_clock_sample() local 194 task_cputime(p, &utime, &stime); in cpu_clock_sample() 198 return utime + stime; in cpu_clock_sample() 200 return utime; in cpu_clock_sample() 207 static inline void store_samples(u64 *samples, u64 stime, u64 utime, u64 rtime) in store_samples() argument 209 samples[CPUCLOCK_PROF] = stime + utime; in store_samples() 210 samples[CPUCLOCK_VIRT] = utime; in store_samples() 216 u64 stime, utime; in task_sample_cputime() local 218 task_cputime(p, &utime, &stime); in task_sample_cputime() 219 store_samples(samples, stime, utime, in task_sample_cputime() 225 u64 stime, utime, rtime; proc_sample_cputime_atomic() local [all...] |
/kernel/linux/linux-6.6/kernel/time/ |
H A D | posix-cpu-timers.c | 196 u64 utime, stime; in cpu_clock_sample() local 201 task_cputime(p, &utime, &stime); in cpu_clock_sample() 205 return utime + stime; in cpu_clock_sample() 207 return utime; in cpu_clock_sample() 214 static inline void store_samples(u64 *samples, u64 stime, u64 utime, u64 rtime) in store_samples() argument 216 samples[CPUCLOCK_PROF] = stime + utime; in store_samples() 217 samples[CPUCLOCK_VIRT] = utime; in store_samples() 223 u64 stime, utime; in task_sample_cputime() local 225 task_cputime(p, &utime, &stime); in task_sample_cputime() 226 store_samples(samples, stime, utime, in task_sample_cputime() 232 u64 stime, utime, rtime; proc_sample_cputime_atomic() local [all...] |
/third_party/ltp/testcases/kernel/syscalls/utime/ |
H A D | utime04.c | 11 * Verify that the system call utime() successfully changes the last 19 #include <utime.h> 43 TST_EXP_PASS(utime(TEMP_FILE, ×), "utime(%s, ×)", TEMP_FILE); in run()
|
H A D | utime06.c | 11 * Verify that system call utime() fails with 22 #include <utime.h> 61 TST_EXP_FAIL(utime(tc->pathname, tc->utimbuf), in run()
|
H A D | utime05.c | 11 * Verify that the system call utime() successfully changes the last 20 #include <utime.h> 57 TST_EXP_PASS(utime(TEMP_FILE, ×), "utime(%s, ×)", TEMP_FILE); in run()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | time.c | 246 acct->utime -= ust; in accumulate_stolen_time() 281 unsigned long utime, utime_scaled; in vtime_delta_scaled() local 286 utime = acct->utime - acct->utime_sspurr; in vtime_delta_scaled() 287 acct->utime_sspurr = acct->utime; in vtime_delta_scaled() 300 utime_scaled = utime; in vtime_delta_scaled() 301 if (deltascaled != stime + utime) { in vtime_delta_scaled() 302 if (utime) { in vtime_delta_scaled() 303 stime_scaled = deltascaled * stime / (stime + utime); in vtime_delta_scaled() 400 if (acct->utime) in vtime_flush() [all...] |
/kernel/linux/linux-5.10/tools/lib/traceevent/plugins/ |
H A D | plugin_futex.c | 21 unsigned long long utime; /* or val2 */ member 35 { "FUTEX_WAIT", " val=0x%08llx", " utime=0x%08llx", NULL, NULL }, 41 { "FUTEX_LOCK_PI", NULL, " utime=0x%08llx", NULL, NULL }, 44 { "FUTEX_WAIT_BITSET", " val=0x%08llx", " utime=0x%08llx", NULL, " val3=0x%08llx" }, 46 { "FUTEX_WAIT_REQUEUE_PI", " val=0x%08llx", " utime=0x%08llx", " uaddr2=0x%08llx", " val3=0x%08llx" }, 60 trace_seq_printf(s,fop->fmt_utime, args->utime); in futex_print() 85 if (tep_get_field_val(s, event, "utime", record, &args.utime, 1)) in futex_handler()
|
/third_party/curl/src/ |
H A D | tool_filetime.c | 30 # include <utime.h> 32 # include <sys/utime.h> 95 /* Windows utime() may attempt to adjust the unix GMT file time by a daylight in setfiletime() 97 access to a 64-bit type we can bypass utime and set the times directly. */ in setfiletime() 148 if(utime(filename, ×)) { in setfiletime()
|
/third_party/python/Lib/test/ |
H A D | test_posix.py | 444 @unittest.skipUnless(os.utime in os.supports_fd, "test needs fd support in os.utime") 449 posix.utime(fd) 450 posix.utime(fd, None) 451 self.assertRaises(TypeError, posix.utime, fd, (None, None)) 452 self.assertRaises(TypeError, posix.utime, fd, (now, None)) 453 self.assertRaises(TypeError, posix.utime, fd, (None, now)) 454 posix.utime(fd, (int(now), int(now))) 455 posix.utime(fd, (now, now)) 456 self.assertRaises(ValueError, posix.utime, f [all...] |
/kernel/linux/linux-5.10/kernel/ |
H A D | delayacct.c | 87 u64 utime, stime, stimescaled, utimescaled; in __delayacct_add_tsk() local 92 task_cputime(tsk, &utime, &stime); in __delayacct_add_tsk() 94 tmp += utime + stime; in __delayacct_add_tsk()
|
/third_party/gn/src/gn/ |
H A D | function_write_file_unittest.cc | 20 #include <utime.h> 99 ASSERT_EQ(utime(foo_name.value().c_str(), NULL), 0); in TEST_F()
|
/third_party/python/Modules/ |
H A D | timemodule.c | 1216 _PyTime_t ktime, utime, t; local 1240 utime = large.QuadPart; 1242 /* ktime and utime have a resolution of 100 nanoseconds */ 1243 t = _PyTime_FromNanoseconds((ktime + utime) * 100); 1289 _PyTime_t utime, stime; 1298 if (_PyTime_FromTimeval(&utime, &ru.ru_utime) < 0) { 1305 _PyTime_t total = utime + stime; 1409 _PyTime_t ktime, utime, t; local 1433 utime = large.QuadPart; 1435 /* ktime and utime hav [all...] |
/kernel/linux/linux-5.10/include/linux/sched/ |
H A D | types.h | 10 * @utime: time spent in user mode, in nanoseconds 19 u64 utime; member
|
/kernel/linux/linux-6.6/include/linux/sched/ |
H A D | types.h | 10 * @utime: time spent in user mode, in nanoseconds 19 u64 utime; member
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | accounting.h | 12 unsigned long utime; member
|
/kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
H A D | accounting.h | 12 unsigned long utime; member
|
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
H A D | time.c | 72 if (ti->utime) in vtime_flush() 73 account_user_time(tsk, cycle_to_nsec(ti->utime)); in vtime_flush() 96 ti->utime = 0; in vtime_flush()
|
/kernel/linux/linux-6.6/arch/ia64/kernel/ |
H A D | time.c | 74 if (ti->utime) in vtime_flush() 75 account_user_time(tsk, cycle_to_nsec(ti->utime)); in vtime_flush() 98 ti->utime = 0; in vtime_flush()
|
/kernel/linux/linux-6.6/kernel/ |
H A D | delayacct.c | 131 u64 utime, stime, stimescaled, utimescaled; in delayacct_add_tsk() local 136 task_cputime(tsk, &utime, &stime); in delayacct_add_tsk() 138 tmp += utime + stime; in delayacct_add_tsk()
|
/third_party/node/test/parallel/ |
H A D | test-trace-events-fs-async.js | 236 function utime() { function 297 tests.utime = wrapper(utime);
|
/third_party/skia/gn/ |
H A D | cp.py | 25 os.utime(dst, None)
|
/third_party/node/deps/v8/tools/v8windbg/ |
H A D | copy-prereqs.py | 36 os.utime(target_path, None)
|