Home
last modified time | relevance | path

Searched refs:timespec (Results 1 – 25 of 44) sorted by relevance

12

/AliOS-Things-master/components/posix/src/
A Dtime.c11 int clock_getres(clockid_t clock_id, struct timespec *res) in clock_getres()
25 int clock_gettime(clockid_t clock_id, struct timespec *tp) in clock_gettime()
50 int clock_settime(clockid_t clock_id, const struct timespec *tp) in clock_settime()
67 int clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp, in clock_nanosleep()
68 struct timespec *rmtp) in clock_nanosleep()
72 struct timespec tp = {0}; in clock_nanosleep()
109 int nanosleep(const struct timespec *rqtp, struct timespec *rmtp) in nanosleep()
130 struct timespec tv = { .tv_sec = seconds, .tv_nsec = 0 }; in sleep()
140 struct timespec tv = { in usleep()
A Dtimer.c39 static inline int64_t timespec_to_nanosecond(struct timespec *t) in timespec_to_nanosecond()
44 static inline struct timespec nanosecond_to_timespec(int64_t ns) in nanosecond_to_timespec()
46 struct timespec ret_time; in nanosecond_to_timespec()
54 static int timespec_abs_to_relate(struct timespec *time_abs, struct timespec *time_relate) in timespec_abs_to_relate()
58 struct timespec time_now; in timespec_abs_to_relate()
213 struct timespec value_spec = {0}; in timer_settime()
214 struct timespec interval_spec = {0}; in timer_settime()
227 ret = timespec_abs_to_relate((struct timespec *)&value->it_value, &value_spec); in timer_settime()
228 ret |= timespec_abs_to_relate((struct timespec *)&value->it_interval, &interval_spec); in timer_settime()
236 value_ns = timespec_to_nanosecond((struct timespec *)&value->it_value); in timer_settime()
[all …]
A Dsemaphore.c96 int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout) in sem_timedwait()
100 struct timespec cur_time = {0}; in sem_timedwait()
101 struct timespec rel_time = {0}; in sem_timedwait()
A Dmqueue.c65 unsigned *msg_prio, const struct timespec *abs_timeout) in mq_timedreceive()
85 unsigned msg_prio, const struct timespec *abs_timeout) in mq_timedsend()
A Dpthread_cond.c185 const struct timespec *abstime) in pthread_cond_timedwait()
189 struct timespec now_tp = {0}; in pthread_cond_timedwait()
224 const struct timespec *reltime) in pthread_cond_timedwait_relative_np()
A Dsched.c237 int sched_rr_get_interval(pid_t pid, struct timespec *interval) in sched_rr_get_interval()
/AliOS-Things-master/components/minilibc/include/
A Dtime.h83 struct timespec { struct
114 struct timespec it_value; /* First time */
115 struct timespec it_interval; /* and thereafter */
143 int clock_gettime(clockid_t clockid, struct timespec *tp);
/AliOS-Things-master/components/SDL2/src/timer/unix/
A DSDL_systimer.c68 static struct timespec start_ts;
118 struct timespec now; in SDL_GetTicks()
147 struct timespec now; in SDL_GetPerformanceCounter()
204 struct timespec elapsed, tv; in SDL_Delay()
/AliOS-Things-master/components/minilibc/libc/
A Dclock_gettime.c22 int clock_gettime(clockid_t clk_id, struct timespec *tp);
124 struct timespec ts_begin, ts_end; in clock_timer_start()
155 int clock_gettime(clockid_t clk_id, struct timespec *tp) in clock_gettime()
/AliOS-Things-master/components/posix/include/
A Dmqueue.h33 …qd_t mqdes, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout);
34 …mqdes, const char *msg_ptr, size_t msg_len, unsigned msg_prio, const struct timespec *abs_timeout);
A Dsched.h32 int sched_rr_get_interval(pid_t pid, struct timespec *interval);
A Dsemaphore.h24 int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout);
A Dpthread.h124 int pthread_timedjoin_np(pthread_t thread, void **retval, const struct timespec *abstime);
171 int pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *abs…
/AliOS-Things-master/components/libc_stub/compilers/armlibc/sys/
A Dtime.h32 struct timespec { struct
/AliOS-Things-master/components/libc_stub/compilers/iar/sys/
A Dtime.h32 struct timespec { struct
/AliOS-Things-master/components/SDL2/src/thread/pthread/
A DSDL_syscond.c105 struct timespec abstime; in SDL_CondWaitTimeout()
A DSDL_syssem.c112 struct timespec ts_timeout; in SDL_SemWaitTimeout()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/ruy/
A Dtime.h76 timespec t; in CoarseNow()
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/libtests/
A Dtimepng.c182 static int mytime(struct timespec *t) in mytime()
196 struct timespec before, after; in perform_one_test()
/AliOS-Things-master/solutions/eduk1_demo/k1_apps/homepage/
A Dhomepage.c100 struct timespec tv; in homepage_task()
/AliOS-Things-master/components/websocket/src/
A Drws_thread.c190 struct timespec abs_timeout; in rws_sem_wait()
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/core/src/
A DCommonClient.cc182 struct timespec currentTime; in buildRoaHttpRequest()
258 struct timespec currentTime; in buildRpcHttpRequest()
A DRpcServiceClient.cc94 struct timespec currentTime; in buildHttpRequest()
/AliOS-Things-master/components/oss/src/client/
A DClient.cc73 struct timespec currentTime; in AttemptRequest()
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/tools/
A Dpngcp.c416 struct timespec read_time;
417 struct timespec read_time_total;
418 struct timespec write_time;
419 struct timespec write_time_total;
1500 set_timer(struct display *dp, struct timespec *timer) in set_timer()
1523 struct timespec t, tmp; in end_timer()
1566 print_time(const char *what, struct timespec t) in print_time()

Completed in 26 milliseconds

12