/external/ltp/lib/ |
D | tst_timer.c | 16 static clockid_t clock_id; 18 const char *tst_clock_name(clockid_t clk_id) in tst_clock_name() 42 void tst_timer_check(clockid_t clk_id) in tst_timer_check() 56 void tst_timer_start(clockid_t clk_id) in tst_timer_start()
|
D | tst_clocks.c | 17 int tst_clock_getres(clockid_t clk_id, struct timespec *res) in tst_clock_getres() 22 int tst_clock_gettime(clockid_t clk_id, struct timespec *ts) in tst_clock_gettime() 27 int tst_clock_settime(clockid_t clk_id, struct timespec *ts) in tst_clock_settime()
|
/external/rust/crates/nix/src/ |
D | time.rs | 11 use libc::{self, clockid_t}; 19 pub struct ClockId(clockid_t); 23 pub fn from_raw(clk_id: clockid_t) -> Self { in from_raw() 64 pub fn as_raw(self) -> clockid_t { in as_raw() argument 188 impl Into<clockid_t> for ClockId { 189 fn into(self) -> clockid_t { in into() argument 194 impl From<clockid_t> for ClockId { 195 fn from(clk_id: clockid_t) -> Self { in from() 252 let mut clk_id: MaybeUninit<libc::clockid_t> = MaybeUninit::uninit(); in clock_getcpuclockid()
|
/external/ltp/include/ |
D | tst_clocks.h | 25 int tst_clock_getres(clockid_t clk_id, struct timespec *res); 27 int tst_clock_gettime(clockid_t clk_id, struct timespec *ts); 29 int tst_clock_settime(clockid_t clk_id, struct timespec *ts);
|
D | tst_safe_clocks.h | 18 clockid_t clk_id, struct timespec *res) in safe_clock_getres() 30 clockid_t clk_id, struct timespec *tp) in safe_clock_gettime() 42 clockid_t clk_id, struct timespec *tp) in safe_clock_settime() 53 clockid_t clk_id, struct timex *txc) in safe_clock_adjtime()
|
D | tst_timer.h | 292 void tst_timer_check(clockid_t clk_id); 299 void tst_timer_start(clockid_t clk_id); 338 const char *tst_clock_name(clockid_t);
|
/external/oboe/src/common/ |
D | AudioClock.h | 29 static int64_t getNanoseconds(clockid_t clockId = CLOCK_MONOTONIC) { 46 static int sleepUntilNanoTime(int64_t nanoTime, clockid_t clockId = CLOCK_MONOTONIC) { 62 static int sleepForNanos(int64_t nanoseconds, clockid_t clockId = CLOCK_REALTIME) {
|
/external/ltp/testcases/kernel/syscalls/clock_gettime/ |
D | clock_gettime01.c | 26 clockid_t clktype; 31 int (*func)(clockid_t clk_id, struct timespec *tp); 66 static int sys_clock_gettime(clockid_t clk_id, struct timespec *tp) in sys_clock_gettime()
|
D | clock_gettime02.c | 28 clockid_t clktype; 87 static int sys_clock_gettime(clockid_t clk_id, struct timespec *tp) in sys_clock_gettime()
|
/external/ltp/testcases/kernel/syscalls/clock_adjtime/ |
D | clock_adjtime.h | 19 static int sys_clock_adjtime(clockid_t, struct timex *); 25 static int sys_clock_adjtime(clockid_t clk_id, struct timex *txc) in sys_clock_adjtime()
|
/external/ltp/testcases/kernel/syscalls/clock_nanosleep2/ |
D | clock_nanosleep2_01.c | 17 const clockid_t CLOCK_TO_USE = CLOCK_MONOTONIC; 18 static int clock_nanosleep2(clockid_t clock_id, int flags, in clock_nanosleep2()
|
/external/perfetto/include/perfetto/base/ |
D | time.h | 134 constexpr clockid_t kWallTimeClockSource = CLOCK_MONOTONIC; 136 inline TimeNanos GetTimeInternalNs(clockid_t clk_id) { in GetTimeInternalNs() 146 static const clockid_t kBootTimeClockSource = [] { in GetBootTimeNs()
|
/external/rust/crates/libc/src/unix/bsd/freebsdlike/ |
D | mod.rs | 763 pub const CLOCK_REALTIME: ::clockid_t = 0; 764 pub const CLOCK_VIRTUAL: ::clockid_t = 1; 765 pub const CLOCK_PROF: ::clockid_t = 2; 766 pub const CLOCK_MONOTONIC: ::clockid_t = 4; 767 pub const CLOCK_UPTIME: ::clockid_t = 5; 768 pub const CLOCK_UPTIME_PRECISE: ::clockid_t = 7; 769 pub const CLOCK_UPTIME_FAST: ::clockid_t = 8; 770 pub const CLOCK_REALTIME_PRECISE: ::clockid_t = 9; 771 pub const CLOCK_REALTIME_FAST: ::clockid_t = 10; 772 pub const CLOCK_MONOTONIC_PRECISE: ::clockid_t = 11; [all …]
|
/external/rust/crates/libc/src/unix/linux_like/ |
D | mod.rs | 4 pub type clockid_t = ::c_int; typedef 484 pub const CLOCK_REALTIME: ::clockid_t = 0; 485 pub const CLOCK_MONOTONIC: ::clockid_t = 1; 486 pub const CLOCK_PROCESS_CPUTIME_ID: ::clockid_t = 2; 487 pub const CLOCK_THREAD_CPUTIME_ID: ::clockid_t = 3; 488 pub const CLOCK_MONOTONIC_RAW: ::clockid_t = 4; 489 pub const CLOCK_REALTIME_COARSE: ::clockid_t = 5; 490 pub const CLOCK_MONOTONIC_COARSE: ::clockid_t = 6; 491 pub const CLOCK_BOOTTIME: ::clockid_t = 7; 492 pub const CLOCK_REALTIME_ALARM: ::clockid_t = 8; [all …]
|
/external/oboe/docs/ |
D | ChangeLog.md | 12 - [Add `AudioStream::getTimestamp(clockid_t)`](https://github.com/google/oboe/pull/213/commits/ab69… 13 - Deprecate `AudioStream::getTimestamp(clockid_t, int64_t, int64_t)`. Same commit as above.
|
/external/ltp/testcases/kernel/syscalls/clock_settime/ |
D | clock_settime02.c | 21 clockid_t type; 89 static int sys_clock_settime(clockid_t clk_id, struct timespec *tp) in sys_clock_settime()
|
/external/rust/crates/libc/src/unix/newlib/ |
D | mod.rs | 3 pub type clockid_t = ::c_ulong; typedef 424 pub const CLOCK_REALTIME: ::clockid_t = 1; 425 pub const CLOCK_MONOTONIC: ::clockid_t = 4; 426 pub const CLOCK_BOOTTIME: ::clockid_t = 4; 603 pub fn clock_settime(clock_id: ::clockid_t, tp: *const ::timespec) -> ::c_int; in clock_settime() argument 604 pub fn clock_gettime(clock_id: ::clockid_t, tp: *mut ::timespec) -> ::c_int; in clock_gettime() argument 605 pub fn clock_getres(clock_id: ::clockid_t, res: *mut ::timespec) -> ::c_int; in clock_getres() argument
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/ |
D | 7-4-buildonly.c | 13 clockid_t dummy;
|
D | 15-1-buildonly.c | 16 typedef int (*clock_settime_test) (clockid_t, const struct timespec *);
|
D | 11-1-buildonly.c | 16 typedef int (*clock_getcpuclockid_test) (pid_t, clockid_t *);
|
D | 13-1-buildonly.c | 16 typedef int (*clock_gettime_test) (clockid_t, struct timespec *);
|
D | 12-1-buildonly.c | 16 typedef int (*clock_getres_test) (clockid_t, struct timespec *);
|
D | 29-1-buildonly.c | 16 typedef int (*timer_create_test) (clockid_t, struct sigevent *, timer_t *);
|
D | 14-1-buildonly.c | 17 typedef int (*clock_nanosleep_test) (clockid_t, int, const struct timespec *,
|
/external/rust/crates/libc/src/unix/bsd/netbsdlike/ |
D | mod.rs | 11 pub type clockid_t = ::c_int; typedef 378 pub const CLOCK_REALTIME: ::clockid_t = 0; 379 pub const CLOCK_MONOTONIC: ::clockid_t = 3; 653 pub fn clock_getres(clk_id: ::clockid_t, tp: *mut ::timespec) -> ::c_int; in clock_getres() argument 655 pub fn clock_gettime(clk_id: ::clockid_t, tp: *mut ::timespec) -> ::c_int; in clock_gettime() argument 657 pub fn clock_settime(clk_id: ::clockid_t, tp: *const ::timespec) -> ::c_int; in clock_settime() argument 702 clock_id: ::clockid_t, in pthread_condattr_setclock() argument
|