/test/xts/hats/kernel/syscalls/timer/nanosleep/ |
H A D | NanoSleepApiTest.cpp | 61 struct timespec req = {0, 100000L}; in HWTEST_F() 63 struct timespec rem; in HWTEST_F() 102 struct timespec req = {0, 100}; in HWTEST_F() 103 struct timespec rem; in HWTEST_F()
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | threads.h | 49 int thrd_sleep(const struct timespec *, struct timespec *); 64 int mtx_timedlock(mtx_t *__restrict, const struct timespec *__restrict); 74 int cnd_timedwait(cnd_t *__restrict, mtx_t *__restrict, const struct timespec *__restrict);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | threads.h | 49 int thrd_sleep(const struct timespec *, struct timespec *); 64 int mtx_timedlock(mtx_t *__restrict, const struct timespec *__restrict); 74 int cnd_timedwait(cnd_t *__restrict, mtx_t *__restrict, const struct timespec *__restrict);
|
/third_party/musl/include/ |
H A D | threads.h | 49 int thrd_sleep(const struct timespec *, struct timespec *); 64 int mtx_timedlock(mtx_t *__restrict, const struct timespec *__restrict); 74 int cnd_timedwait(cnd_t *__restrict, mtx_t *__restrict, const struct timespec *__restrict);
|
/third_party/musl/libc-test/src/functionalext/supplement/sched/ |
H A D | sched_rr_get_interval.c | 21 extern int __sched_rr_get_interval_time64(pid_t, struct timespec *); 31 struct timespec ts = {0}; in sched_rr_get_interval_0100() 54 struct timespec ts = {0}; in sched_rr_get_interval_0200() 72 struct timespec ts = {0}; in sched_rr_get_interval_time64_0100()
|
/third_party/ltp/include/ |
H A D | tst_clocks.h | 12 int tst_clock_getres(clockid_t clk_id, struct timespec *res); 14 int tst_clock_gettime(clockid_t clk_id, struct timespec *ts); 16 int tst_clock_settime(clockid_t clk_id, struct timespec *ts);
|
/third_party/musl/arch/powerpc64/bits/ |
H A D | stat.h | 12 struct timespec st_atim; 13 struct timespec st_mtim; 14 struct timespec st_ctim;
|
/third_party/musl/arch/s390x/bits/ |
H A D | stat.h | 10 struct timespec st_atim; 11 struct timespec st_mtim; 12 struct timespec st_ctim;
|
/third_party/ltp/testcases/realtime/lib/ |
H A D | librttest.c | 418 void ts_minus(struct timespec *ts_end, struct timespec *ts_start, in ts_minus() 419 struct timespec *ts_delta) in ts_minus() 432 void ts_plus(struct timespec *ts_a, struct timespec *ts_b, in ts_plus() 433 struct timespec *ts_sum) in ts_plus() 446 void ts_normalize(struct timespec *ts) in ts_normalize() 475 int ts_to_nsec(struct timespec *ts, nsec_t * ns) in ts_to_nsec() 477 struct timespec t; in ts_to_nsec() 496 void nsec_to_ts(nsec_t ns, struct timespec *t [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/util/ |
H A D | timer.h | 181 static double TimeDifference(const timespec& from, const timespec& to) { in TimeDifference() 197 timespec cpu_before_; 201 timespec wall_before_; 210 timespec cpu_after_; 215 timespec wall_after_;
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/ |
H A D | timer.h | 181 static double TimeDifference(const timespec& from, const timespec& to) { in TimeDifference() 197 timespec cpu_before_; 201 timespec wall_before_; 210 timespec cpu_after_; 215 timespec wall_after_;
|
/third_party/spirv-tools/source/util/ |
H A D | timer.h | 181 static double TimeDifference(const timespec& from, const timespec& to) { in TimeDifference() 197 timespec cpu_before_; 201 timespec wall_before_; 210 timespec cpu_after_; 215 timespec wall_after_;
|
/third_party/musl/porting/liteos_a/kernel/src/include/ |
H A D | time.h | 6 hidden int __clock_gettime(clockid_t, struct timespec *); 7 hidden int __clock_nanosleep(clockid_t, int, const struct timespec *, struct timespec *);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/bits/ |
H A D | stat.h | 22 struct timespec st_atim; 23 struct timespec st_mtim; 24 struct timespec st_ctim;
|
/third_party/musl/porting/uniproton/kernel/include/bits/ |
H A D | stat.h | 22 struct timespec st_atim; 23 struct timespec st_mtim; 24 struct timespec st_ctim;
|
/third_party/musl/porting/liteos_m/kernel/include/bits/ |
H A D | stat.h | 22 struct timespec st_atim; 23 struct timespec st_mtim; 24 struct timespec st_ctim;
|
/third_party/musl/src/include/ |
H A D | time.h | 6 hidden int __clock_gettime(clockid_t, struct timespec *); 7 hidden int __clock_nanosleep(clockid_t, int, const struct timespec *, struct timespec *);
|
/third_party/musl/arch/aarch64/bits/ |
H A D | stat.h | 14 struct timespec st_atim; 15 struct timespec st_mtim; 16 struct timespec st_ctim;
|
/third_party/musl/arch/i386/bits/ |
H A D | stat.h | 22 struct timespec st_atim; 23 struct timespec st_mtim; 24 struct timespec st_ctim;
|
/third_party/musl/arch/microblaze/bits/ |
H A D | stat.h | 22 struct timespec st_atim; 23 struct timespec st_mtim; 24 struct timespec st_ctim;
|
/third_party/musl/arch/mips/bits/ |
H A D | stat.h | 22 struct timespec st_atim; 23 struct timespec st_mtim; 24 struct timespec st_ctim;
|
/third_party/musl/arch/or1k/bits/ |
H A D | stat.h | 22 struct timespec st_atim; 23 struct timespec st_mtim; 24 struct timespec st_ctim;
|
/third_party/musl/arch/powerpc/bits/ |
H A D | stat.h | 21 struct timespec st_atim; 22 struct timespec st_mtim; 23 struct timespec st_ctim;
|
/third_party/musl/arch/riscv32/bits/ |
H A D | stat.h | 14 struct timespec st_atim; 15 struct timespec st_mtim; 16 struct timespec st_ctim;
|
/third_party/musl/arch/riscv64/bits/ |
H A D | stat.h | 14 struct timespec st_atim; 15 struct timespec st_mtim; 16 struct timespec st_ctim;
|