Home
last modified time | relevance | path

Searched refs:clock_gettime (Results 1 – 25 of 33) sorted by relevance

12

/AliOS-Things-master/components/minilibc/libc/
A Dclock_gettime.c22 int clock_gettime(clockid_t clk_id, struct timespec *tp);
125 ret = clock_gettime(CLOCK_MONOTONIC, &ts_begin); in clock_timer_start()
131 ret = clock_gettime(CLOCK_MONOTONIC, &ts_end); in clock_timer_start()
155 int clock_gettime(clockid_t clk_id, struct timespec *tp) in clock_gettime() function
/AliOS-Things-master/components/SDL2/src/timer/unix/
A DSDL_systimer.c87 if (clock_gettime(SDL_MONOTONIC_CLOCK, &start_ts) == 0) { in SDL_TicksInit()
119 clock_gettime(SDL_MONOTONIC_CLOCK, &now); in SDL_GetTicks()
149 clock_gettime(SDL_MONOTONIC_CLOCK, &now); in SDL_GetPerformanceCounter()
/AliOS-Things-master/components/posix/src/
A Dtime.c25 int clock_gettime(clockid_t clock_id, struct timespec *tp) in clock_gettime() function
87 ret = clock_gettime(clock_id, &tp); in clock_nanosleep()
A Dsemaphore.c114 ret = clock_gettime(CLOCK_REALTIME, &cur_time); in sem_timedwait()
A Dpthread_cond.c200 ret = clock_gettime(CLOCK_MONOTONIC, &now_tp); in pthread_cond_timedwait()
A Dtimer.c62 ret = clock_gettime(CLOCK_MONOTONIC, &time_now); in timespec_abs_to_relate()
/AliOS-Things-master/components/minilibc/include/
A Dtime.h143 int clock_gettime(clockid_t clockid, struct timespec *tp);
/AliOS-Things-master/components/SDL2/src/thread/pthread/
A DSDL_syscond.c112 clock_gettime(CLOCK_REALTIME, &abstime); in SDL_CondWaitTimeout()
A DSDL_syssem.c135 clock_gettime(CLOCK_REALTIME, &ts_timeout); in SDL_SemWaitTimeout()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/ruy/
A Dtime.h77 clock_gettime(CLOCK_MONOTONIC_COARSE, &t); in CoarseNow()
/AliOS-Things-master/solutions/eduk1_demo/k1_apps/homepage/
A Dhomepage.md283 此时如果需要获取系统时间,直接调用系统函数clock_gettime即可。
289 clock_gettime(CLOCK_REALTIME, &tv);
A Dhomepage.c111 clock_gettime(CLOCK_REALTIME, &tv); in homepage_task()
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/core/src/
A DCommonClient.cc184 clock_gettime(CLOCK_REALTIME, &currentTime); in buildRoaHttpRequest()
260 clock_gettime(CLOCK_REALTIME, &currentTime); in buildRpcHttpRequest()
A DRpcServiceClient.cc96 clock_gettime(CLOCK_REALTIME, &currentTime); in buildHttpRequest()
A DEndpointProvider.cc243 clock_gettime(CLOCK_REALTIME, &currentTime); in loadRemoteEndpoint()
A DRoaServiceClient.cc155 clock_gettime(CLOCK_REALTIME, &currentTime); in buildHttpRequest()
/AliOS-Things-master/components/oss/src/client/
A DClient.cc75 clock_gettime(CLOCK_REALTIME, &currentTime); in AttemptRequest()
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/libtests/
A Dtimepng.c185 if (!clock_gettime(CLOCK_PROCESS_CPUTIME_ID, t)) in mytime()
/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.c194 clock_gettime(CLOCK_REALTIME, &ts); in aos_sem_wait()
/AliOS-Things-master/components/SDL2/src/hidapi/
A Dconfigure.ac70 AC_CHECK_LIB([rt], [clock_gettime], [LIBS_LIBUSB_PRIVATE+=" -lrt"], [hidapi_lib_error librt])
/AliOS-Things-master/components/SDL2/src/hidapi/android/
A Dhid.cpp455 clock_gettime( CLOCK_REALTIME, &ts ); in BOpen()
646 clock_gettime( CLOCK_REALTIME, &ts ); in GetFeatureReport()
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/
A Dconfigure.ac151 AC_CHECK_FUNC([clock_gettime],,[AC_MSG_WARN([not building timepng])])
/AliOS-Things-master/components/SDL2/
A DCMakeLists.txt363 set_option(CLOCK_GETTIME "Use clock_gettime() instead of gettimeofday()" OFF)
1288 check_library_exists(rt clock_gettime "" FOUND_CLOCK_GETTIME)
1293 check_library_exists(c clock_gettime "" FOUND_CLOCK_GETTIME)
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A Drun-test262.c654 clock_gettime(CLOCK_MONOTONIC, &ts); in get_clock_ms()

Completed in 42 milliseconds

12