| /components/net/lwip/lwip-2.0.3/src/core/ |
| A D | timeouts.c | 227 timeout->time = msecs + diff; in sys_timeout_debug() 239 if (next_timeout->time > msecs) { in sys_timeout_debug() 240 next_timeout->time -= msecs; in sys_timeout_debug() 245 timeout->time -= t->time; in sys_timeout_debug() 246 if (t->next == NULL || t->next->time > timeout->time) { in sys_timeout_debug() 248 t->next->time -= timeout->time; in sys_timeout_debug() 254 timeout->time = msecs + next_timeout->time; in sys_timeout_debug() 292 t->next->time += t->time; in sys_untimeout() 334 diff -= tmptimeout->time; in sys_check_timeouts() 388 if (diff > next_timeout->time) { in sys_timeouts_sleeptime() [all …]
|
| /components/net/lwip/lwip-1.4.1/src/core/ |
| A D | timers.c | 279 timeout->time = msecs; in sys_timeout_debug() 291 if (next_timeout->time > msecs) { in sys_timeout_debug() 292 next_timeout->time -= msecs; in sys_timeout_debug() 297 timeout->time -= t->time; in sys_timeout_debug() 298 if (t->next == NULL || t->next->time > timeout->time) { in sys_timeout_debug() 300 t->next->time -= timeout->time; in sys_timeout_debug() 340 t->next->time += t->time; in sys_untimeout() 382 diff -= tmptimeout->time; in sys_check_timeouts() 434 if (next_timeout->time > 0) { in sys_timeouts_mbox_fetch() 471 next_timeout->time -= time_needed; in sys_timeouts_mbox_fetch() [all …]
|
| /components/net/lwip/lwip-2.1.2/src/core/ |
| A D | timeouts.c | 197 timeout->time = abs_time; in sys_timeout_abs() 209 if (TIME_LESS_THAN(timeout->time, next_timeout->time)) { in sys_timeout_abs() 214 if ((t->next == NULL) || TIME_LESS_THAN(timeout->time, t->next->time)) { in sys_timeout_abs() 373 if (TIME_LESS_THAN(now, tmptimeout->time)) { in sys_check_timeouts() 381 current_timeout_due_time = tmptimeout->time; in sys_check_timeouts() 385 tmptimeout->handler_name, sys_now() - tmptimeout->time, arg)); in sys_check_timeouts() 415 base = next_timeout->time; in sys_restart_timeouts() 418 t->time = (t->time - base) + now; in sys_restart_timeouts() 436 if (TIME_LESS_THAN(next_timeout->time, now)) { in sys_timeouts_sleeptime() 439 u32_t ret = (u32_t)(next_timeout->time - now); in sys_timeouts_sleeptime()
|
| /components/drivers/pm/ |
| A D | Kconfig | 7 int "PM tickless threashold time" 23 bool "PM using threshold time change sleep mode" 28 int "PM light mode threashold time" 32 int "PM deep mode threashold time" 36 int "PM standby mode threashold time"
|
| A D | lptimer.c | 22 rt_tick_t time, in rt_lptimer_init() argument 25 rt_timer_init(&timer->timer, name, timeout, parameter, time, flag); in rt_lptimer_init()
|
| /components/drivers/cputime/ |
| A D | Kconfig | 2 bool "Enable CPU time for high resolution clock counter" 6 for CPU time by: 26 bool "Use rdtime instructions for CPU time" 30 Some RISCV64 MCU Use rdtime instructions read CPU time.
|
| /components/lwp/ |
| A D | lwp_ipc.h | 50 …annel_send_recv_timeout(int fd, rt_channel_msg_t data, rt_channel_msg_t data_ret, rt_int32_t time); 53 rt_err_t rt_channel_recv_timeout(int fd, rt_channel_msg_t data, rt_int32_t time); 60 …d_recv_timeout(rt_channel_t ch, rt_channel_msg_t data, rt_channel_msg_t data_ret, rt_int32_t time); 63 rt_err_t rt_raw_channel_recv_timeout(rt_channel_t ch, rt_channel_msg_t data, rt_int32_t time);
|
| A D | lwp_ipc.c | 496 else if (need_reply && time == 0) in _send_recv_timeout() 554 if (time > 0) in _do_send_recv_timeout() 565 &time); in _do_send_recv_timeout() 598 if (time > 0) in _do_send_recv_timeout() 609 &time); in _do_send_recv_timeout() 695 return _send_recv_timeout(ch, data, 1, data_ret, time); in rt_raw_channel_send_recv_timeout() 856 else if (time == 0) in _rt_raw_channel_recv_timeout() 871 if (time > 0) in _rt_raw_channel_recv_timeout() 882 &time); in _rt_raw_channel_recv_timeout() 924 return _rt_raw_channel_recv_timeout(ch, data, time); in rt_raw_channel_recv_timeout() [all …]
|
| A D | lwp_ipc_internal.h | 30 …v_timeout(int fdt_type, int fd, rt_channel_msg_t data, rt_channel_msg_t data_ret, rt_int32_t time); 32 rt_err_t lwp_channel_recv_timeout(int fdt_type, int fd, rt_channel_msg_t data, rt_int32_t time);
|
| /components/net/lwip/lwip-2.1.2/test/unit/core/ |
| A D | test_timers.c | 63 …fail_unless((*list_head)->time == (u32_t)(lwip_sys_now + test_cyclic.interval_ms - HANDLER_EXECUTI… in do_test_cyclic_timers() 80 fail_unless((*list_head)->time == (u32_t)(lwip_sys_now + test_cyclic.interval_ms)); in do_test_cyclic_timers() 142 fail_unless((*list_head)->time == (u32_t)(lwip_sys_now + 5)); in do_test_timers() 143 fail_unless((*list_head)->next->time == (u32_t)(lwip_sys_now + 10)); in do_test_timers() 144 fail_unless((*list_head)->next->next->time == (u32_t)(lwip_sys_now + 20)); in do_test_timers()
|
| /components/libc/ |
| A D | posix-info.txt | 19 …ad of <errno.h> to be compatible with three compilation platforms of IAR Keil GCC at the same time. 140 …d of <signal.h> to be compatible with three compilation platforms of IAR Keil GCC at the same time. 286 <time.h> -> Suggesting to use <sys/time.h> instead of <time.h> to be compatible with three compil… 303 + time()
|
| /components/libc/posix/pthreads/ |
| A D | pthread_cond.c | 344 rt_int32_t time; in _pthread_cond_timedwait() local 351 time = timeout; in _pthread_cond_timedwait() 388 if (time == 0) in _pthread_cond_timedwait() 419 if (time > 0) in _pthread_cond_timedwait() 424 &time); in _pthread_cond_timedwait()
|
| /components/libc/posix/ |
| A D | readme.md | 8 - `#include <sys/time.h>` to instead of `#include <time.h>`
|
| /components/drivers/ktime/ |
| A D | README.md | 5 ktime 为 kernel time,为内核时间子系统,实现了内核启动时间以及芯片内核 cputimer 时间管理以及一个 ns 精度的高精度定时器, 13 [*] Ktime: kernel time
|
| A D | Kconfig | 2 bool "Ktime: kernel time"
|
| /components/libc/compilers/common/ |
| A D | Kconfig | 5 bool "Enable fully version timezone and daylight saving time with database" 10 bool "Enable lightweight timezone and daylight saving time"
|
| A D | ctime.c | 340 rt_weak time_t time(time_t *t) in time() function 360 RTM_EXPORT(time); 758 int rt_timespec_to_tick(const struct timespec *time) in rt_timespec_to_tick() argument 765 RT_ASSERT(time != RT_NULL); in rt_timespec_to_tick() 768 if (time != NULL) in rt_timespec_to_tick() 773 if ((time->tv_nsec - tp.tv_nsec) < 0) in rt_timespec_to_tick() 775 nsecond = NANOSECOND_PER_SECOND - (tp.tv_nsec - time->tv_nsec); in rt_timespec_to_tick() 776 second = time->tv_sec - tp.tv_sec - 1; in rt_timespec_to_tick() 780 nsecond = time->tv_nsec - tp.tv_nsec; in rt_timespec_to_tick() 781 second = time->tv_sec - tp.tv_sec; in rt_timespec_to_tick()
|
| /components/drivers/rtc/ |
| A D | dev_soft_rtc.c | 259 time_t time = 0; in rt_soft_rtc_sync() local 261 rt_device_control(&soft_rtc_dev, RT_DEVICE_CTRL_RTC_GET_TIME, &time); in rt_soft_rtc_sync() 262 set_rtc_time(time); in rt_soft_rtc_sync() 299 MSH_CMD_EXPORT_ALIAS(cmd_rtc_sync, rtc_sync, Update time by soft rtc);
|
| /components/drivers/watchdog/ |
| A D | watchdog-i6300esb.c | 110 static rt_err_t i6300esb_timer_set_heartbeat(struct i6300esb_wdt *esb, rt_uint32_t time) in i6300esb_timer_set_heartbeat() argument 119 val = time << 9; in i6300esb_timer_set_heartbeat() 133 esb->timeout = time; in i6300esb_timer_set_heartbeat()
|
| /components/mm/ |
| A D | Kconfig | 26 Using memblock to record memory infomation in init time 29 int "The max number of memory block regions in init time"
|
| /components/libc/compilers/ |
| A D | readme.md | 1 …nd supports basic standard C library functions, such as memory management and time management, etc.
|
| /components/libc/cplusplus/cpp11/armclang/ |
| A D | clock.cpp | 17 unsigned int t = std::time(nullptr); in __ARM_TPL_clock_realtime()
|
| /components/libc/compilers/common/include/sys/ |
| A D | time.h | 123 time_t time(time_t* t); 208 int rt_timespec_to_tick(const struct timespec *time);
|
| /components/drivers/include/drivers/ |
| A D | lptimer.h | 27 rt_tick_t time,
|
| /components/lwp/terminal/ |
| A D | Kconfig | 9 int "Max number of pty devices registered at the same time"
|