/AliOS-Things-master/components/posix/src/ |
A D | time.c | 11 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 D | timer.c | 39 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 D | semaphore.c | 96 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 D | mqueue.c | 65 unsigned *msg_prio, const struct timespec *abs_timeout) in mq_timedreceive() 85 unsigned msg_prio, const struct timespec *abs_timeout) in mq_timedsend()
|
A D | pthread_cond.c | 185 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 D | sched.c | 237 int sched_rr_get_interval(pid_t pid, struct timespec *interval) in sched_rr_get_interval()
|
/AliOS-Things-master/components/minilibc/include/ |
A D | time.h | 83 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 D | SDL_systimer.c | 68 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 D | clock_gettime.c | 22 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 D | mqueue.h | 33 …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 D | sched.h | 32 int sched_rr_get_interval(pid_t pid, struct timespec *interval);
|
A D | semaphore.h | 24 int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout);
|
A D | pthread.h | 124 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 D | time.h | 32 struct timespec { struct
|
/AliOS-Things-master/components/libc_stub/compilers/iar/sys/ |
A D | time.h | 32 struct timespec { struct
|
/AliOS-Things-master/components/SDL2/src/thread/pthread/ |
A D | SDL_syscond.c | 105 struct timespec abstime; in SDL_CondWaitTimeout()
|
A D | SDL_syssem.c | 112 struct timespec ts_timeout; in SDL_SemWaitTimeout()
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/ruy/ |
A D | time.h | 76 timespec t; in CoarseNow()
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/libtests/ |
A D | timepng.c | 182 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 D | homepage.c | 100 struct timespec tv; in homepage_task()
|
/AliOS-Things-master/components/websocket/src/ |
A D | rws_thread.c | 190 struct timespec abs_timeout; in rws_sem_wait()
|
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/core/src/ |
A D | CommonClient.cc | 182 struct timespec currentTime; in buildRoaHttpRequest() 258 struct timespec currentTime; in buildRpcHttpRequest()
|
A D | RpcServiceClient.cc | 94 struct timespec currentTime; in buildHttpRequest()
|
/AliOS-Things-master/components/oss/src/client/ |
A D | Client.cc | 73 struct timespec currentTime; in AttemptRequest()
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/tools/ |
A D | pngcp.c | 416 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()
|