Home
last modified time | relevance | path

Searched refs:utime (Results 26 - 50 of 196) sorted by relevance

12345678

/third_party/musl/include/
H A Dutime.h19 int utime (const char *, const struct utimbuf *);
22 __REDIR(utime, __utime64);
/third_party/skia/third_party/externals/zlib/contrib/bench/
H A Dzlib_bench.cc237 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 Dfutex.rs14 /// `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 Dposix-cpu-timers.c189 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 Dposix-cpu-timers.c196 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 Dutime04.c11 * Verify that the system call utime() successfully changes the last
19 #include <utime.h>
43 TST_EXP_PASS(utime(TEMP_FILE, &times), "utime(%s, &times)", TEMP_FILE); in run()
H A Dutime06.c11 * Verify that system call utime() fails with
22 #include <utime.h>
61 TST_EXP_FAIL(utime(tc->pathname, tc->utimbuf), in run()
H A Dutime05.c11 * Verify that the system call utime() successfully changes the last
20 #include <utime.h>
57 TST_EXP_PASS(utime(TEMP_FILE, &times), "utime(%s, &times)", TEMP_FILE); in run()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dtime.c246 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 Dplugin_futex.c21 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 Dtool_filetime.c30 # 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, &times)) { in setfiletime()
/third_party/python/Lib/test/
H A Dtest_posix.py444 @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 Ddelayacct.c87 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 Dfunction_write_file_unittest.cc20 #include <utime.h>
99 ASSERT_EQ(utime(foo_name.value().c_str(), NULL), 0); in TEST_F()
/third_party/python/Modules/
H A Dtimemodule.c1216 _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 Dtypes.h10 * @utime: time spent in user mode, in nanoseconds
19 u64 utime; member
/kernel/linux/linux-6.6/include/linux/sched/
H A Dtypes.h10 * @utime: time spent in user mode, in nanoseconds
19 u64 utime; member
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Daccounting.h12 unsigned long utime; member
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Daccounting.h12 unsigned long utime; member
/kernel/linux/linux-5.10/arch/ia64/kernel/
H A Dtime.c72 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 Dtime.c74 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 Ddelayacct.c131 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 Dtest-trace-events-fs-async.js236 function utime() { function
297 tests.utime = wrapper(utime);
/third_party/skia/gn/
H A Dcp.py25 os.utime(dst, None)
/third_party/node/deps/v8/tools/v8windbg/
H A Dcopy-prereqs.py36 os.utime(target_path, None)

Completed in 13 milliseconds

12345678