Searched refs:CLOCK_MONOTONIC (Results 1 – 16 of 16) sorted by relevance
/AliOS-Things-master/components/minilibc/libc/ |
A D | clock_gettime.c | 125 ret = clock_gettime(CLOCK_MONOTONIC, &ts_begin); in clock_timer_start() 131 ret = clock_gettime(CLOCK_MONOTONIC, &ts_end); in clock_timer_start() 157 if (clk_id != CLOCK_MONOTONIC) { in clock_gettime()
|
/AliOS-Things-master/components/posix/src/ |
A D | time.c | 14 if (((clock_id != CLOCK_REALTIME) && (clock_id != CLOCK_MONOTONIC)) || (res == NULL)) { in clock_getres() 34 if (clock_id == CLOCK_MONOTONIC) { in clock_gettime() 81 if ((clock_id != CLOCK_MONOTONIC) && (clock_id != CLOCK_REALTIME)) { in clock_nanosleep()
|
A D | pthread_cond.c | 199 if (cond->attr.clock == CLOCK_MONOTONIC) { in pthread_cond_timedwait() 200 ret = clock_gettime(CLOCK_MONOTONIC, &now_tp); in pthread_cond_timedwait() 290 if ((clock_id != CLOCK_REALTIME) && (clock_id != CLOCK_MONOTONIC)) { in pthread_condattr_setclock()
|
A D | timer.c | 62 ret = clock_gettime(CLOCK_MONOTONIC, &time_now); in timespec_abs_to_relate() 84 ((clockid != CLOCK_REALTIME) && (clockid != CLOCK_MONOTONIC))) { in timer_create()
|
A D | pthread.c | 517 *clock_id = CLOCK_MONOTONIC; in pthread_getcpuclockid()
|
/AliOS-Things-master/components/minilibc/include/ |
A D | time.h | 52 #define CLOCK_MONOTONIC 1 macro
|
/AliOS-Things-master/components/amp_adapter/platform/linux/peripheral/ |
A D | aos_hal_timer.c | 33 if (timer_create(CLOCK_MONOTONIC, &ent, timer) != 0) { in aos_hal_timer_init()
|
/AliOS-Things-master/components/SDL2/src/timer/unix/ |
A D | SDL_systimer.c | 62 #define SDL_MONOTONIC_CLOCK CLOCK_MONOTONIC
|
/AliOS-Things-master/components/linkkit/wrappers/platform/os/ |
A D | HAL_OS_yoc.c | 194 clock_gettime(CLOCK_MONOTONIC, &tv); in HAL_UptimeMs()
|
/AliOS-Things-master/components/amp_adapter/platform/linux/ |
A D | aos_system.c | 317 if (timer_create(CLOCK_MONOTONIC, &ent, &_timer->timer) != 0) { in aos_timer_create()
|
/AliOS-Things-master/components/drivers/core/base/core/ |
A D | u_interrupt.c | 266 pthread_condattr_setclock(&p_irq_th->condattr, CLOCK_MONOTONIC); in u_irq_thread_create()
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/ |
A D | run-test262.c | 654 clock_gettime(CLOCK_MONOTONIC, &ts); in get_clock_ms()
|
A D | unicode_gen.c | 1830 clock_gettime(CLOCK_MONOTONIC, &ts); in get_time_ns()
|
A D | quickjs-libc.c | 1892 clock_gettime(CLOCK_MONOTONIC, &ts); in get_time_ms()
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/libc/ |
A D | quickjs_libc.c | 2106 clock_gettime(CLOCK_MONOTONIC, &ts); in get_time_ms()
|
/AliOS-Things-master/components/amp/engine/duktape_engine/duktape/ |
A D | duktape.c | 39597 if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0) { in duk_bi_date_get_monotonic_time_clock_gettime()
|
Completed in 274 milliseconds