Home
last modified time | relevance | path

Searched refs:CLOCK_MONOTONIC (Results 1 – 16 of 16) sorted by relevance

/AliOS-Things-master/components/minilibc/libc/
A Dclock_gettime.c125 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 Dtime.c14 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 Dpthread_cond.c199 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 Dtimer.c62 ret = clock_gettime(CLOCK_MONOTONIC, &time_now); in timespec_abs_to_relate()
84 ((clockid != CLOCK_REALTIME) && (clockid != CLOCK_MONOTONIC))) { in timer_create()
A Dpthread.c517 *clock_id = CLOCK_MONOTONIC; in pthread_getcpuclockid()
/AliOS-Things-master/components/minilibc/include/
A Dtime.h52 #define CLOCK_MONOTONIC 1 macro
/AliOS-Things-master/components/amp_adapter/platform/linux/peripheral/
A Daos_hal_timer.c33 if (timer_create(CLOCK_MONOTONIC, &ent, timer) != 0) { in aos_hal_timer_init()
/AliOS-Things-master/components/SDL2/src/timer/unix/
A DSDL_systimer.c62 #define SDL_MONOTONIC_CLOCK CLOCK_MONOTONIC
/AliOS-Things-master/components/linkkit/wrappers/platform/os/
A DHAL_OS_yoc.c194 clock_gettime(CLOCK_MONOTONIC, &tv); in HAL_UptimeMs()
/AliOS-Things-master/components/amp_adapter/platform/linux/
A Daos_system.c317 if (timer_create(CLOCK_MONOTONIC, &ent, &amp_timer->timer) != 0) { in aos_timer_create()
/AliOS-Things-master/components/drivers/core/base/core/
A Du_interrupt.c266 pthread_condattr_setclock(&p_irq_th->condattr, CLOCK_MONOTONIC); in u_irq_thread_create()
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A Drun-test262.c654 clock_gettime(CLOCK_MONOTONIC, &ts); in get_clock_ms()
A Dunicode_gen.c1830 clock_gettime(CLOCK_MONOTONIC, &ts); in get_time_ns()
A Dquickjs-libc.c1892 clock_gettime(CLOCK_MONOTONIC, &ts); in get_time_ms()
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/libc/
A Dquickjs_libc.c2106 clock_gettime(CLOCK_MONOTONIC, &ts); in get_time_ms()
/AliOS-Things-master/components/amp/engine/duktape_engine/duktape/
A Dduktape.c39597 if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0) { in duk_bi_date_get_monotonic_time_clock_gettime()

Completed in 274 milliseconds