/Zephyr-latest/kernel/ |
D | timeout.c | 298 timepoint.tick = UINT64_MAX; in sys_timepoint_calc() 300 timepoint.tick = 0; in sys_timepoint_calc() 305 timepoint.tick = Z_TICK_ABS(dt); in sys_timepoint_calc() 307 timepoint.tick = sys_clock_tick_get() + MAX(1, dt); in sys_timepoint_calc() 318 if (timepoint.tick == UINT64_MAX) { in sys_timepoint_timeout() 321 if (timepoint.tick == 0) { in sys_timepoint_timeout() 326 remaining = (timepoint.tick > now) ? (timepoint.tick - now) : 0; in sys_timepoint_timeout() 331 void z_impl_sys_clock_tick_set(uint64_t tick) in z_impl_sys_clock_tick_set() argument 333 curr_tick = tick; in z_impl_sys_clock_tick_set() 336 void z_vrfy_sys_clock_tick_set(uint64_t tick) in z_vrfy_sys_clock_tick_set() argument [all …]
|
/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v2/src/ |
D | kernel.c | 12 uint32_t tick; variable 94 tick = osKernelGetTickCount(); in delay_until() 95 tick += 50U; in delay_until() 97 status_val = osDelayUntil(tick); in delay_until() 103 zassert_true(tick <= osKernelGetTickCount()); in ZTEST()
|
/Zephyr-latest/include/zephyr/ |
D | sys_clock.h | 225 typedef struct { uint64_t tick; } k_timepoint_t; member 272 if (a.tick == b.tick) { in sys_timepoint_cmp() 275 return a.tick < b.tick ? -1 : 1; in sys_timepoint_cmp()
|
/Zephyr-latest/drivers/lora/ |
D | hal_common.c | 102 uint32_t RtcTick2Ms(uint32_t tick) in RtcTick2Ms() argument 104 return tick; in RtcTick2Ms()
|
/Zephyr-latest/tests/kernel/context/ |
D | README.txt | 35 CPU to be woken up by tick timer. Thus, after each call, the tick count 36 should have advanced by one tick. 39 - 1. Count the number of calls to _tick_get_32() before a tick expires. 41 with interrupts locked. Check that the tick count remains unchanged. 44 - Continuation irq_lock: unlock interrupts, loop and verify the tick
|
/Zephyr-latest/drivers/counter/ |
D | Kconfig.stm32_rtc | 27 bool "Use the subseconds as a basic tick." 30 Use the subseconds as the basic time tick. It increases resolution
|
/Zephyr-latest/tests/kernel/context/src/ |
D | main.c | 393 int tick; in _test_kernel_interrupts() local 398 tick = sys_clock_tick_get_32(); in _test_kernel_interrupts() 399 while (sys_clock_tick_get_32() == tick) { in _test_kernel_interrupts() 403 tick++; in _test_kernel_interrupts() 404 while (sys_clock_tick_get_32() == tick) { in _test_kernel_interrupts() 419 tick = sys_clock_tick_get_32(); in _test_kernel_interrupts() 437 zassert_equal(tick2, tick, in _test_kernel_interrupts() 448 zassert_not_equal(tick, tick2, in _test_kernel_interrupts()
|
/Zephyr-latest/tests/kernel/sleep/src/ |
D | main.c | 79 uint32_t tick; in align_to_tick_boundary() local 81 tick = k_uptime_get_32(); in align_to_tick_boundary() 82 while (k_uptime_get_32() == tick) { in align_to_tick_boundary()
|
/Zephyr-latest/drivers/timer/ |
D | Kconfig.ti_dm_timer | 13 driver provides system tick interface.
|
D | smartbond_timer.c | 19 #define TICK_TO_CYC(tick) k_ticks_to_cyc_ceil32(tick) argument
|
D | Kconfig.stm32_lptim | 50 bool "Override tick to freq ratio check" 53 For LPTIM configuration, a specific tick freq is advised
|
D | Kconfig.gecko | 21 scheduling. Kernel tick duration should be at least 6 BURTC clock
|
/Zephyr-latest/tests/kernel/timer/timer_behavior/ |
D | Kconfig | 36 # Use 13% on nRF platforms using the RTC timer because one tick there is 37 # ~122 us (see SYS_CLOCK_TICKS_PER_SEC configuration above) and one tick 39 # example if a new tick elapses right after the kernel gets the number
|
/Zephyr-latest/doc/kernel/services/timing/ |
D | clocks.rst | 35 "tick" is the internal count in which the kernel does all its internal 37 delivered on tick boundaries to the extent practical, and no 38 fractional ticks are tracked. The choice of tick rate is configurable 50 "us" (microseconds), "tick", or "cyc" can be converted to any other. 127 being 32 bits. Large uptime counts in non-tick units will experience 156 guaranteed at the tick level no matter how many events exist or how 168 Kernel timing at the tick level is driven by a timer driver with a 176 interrupt latency interactions) that they occur near tick boundaries 177 (i.e. not "halfway through" a tick), and most importantly that they 190 fractional tick gets "reset" incorrectly and causes clock skew. [all …]
|
/Zephyr-latest/tests/kernel/timer/starve/ |
D | README.txt | 8 Lack of tick announcement propagates into a monotonic increase in the 13 and the tick rate. By default the test passes if one hour passes
|
/Zephyr-latest/samples/boards/nordic/nrf53_sync_rtc/ |
D | README.rst | 11 core which can be applied to the system tick for logging timestamping. 14 both cores. Application core periodically reads current system tick and stores it in 17 from shared memory and local system tick updated by the offset. User can observe 20 may be slightly behind (usually 1 tick) due to latency introduced by the
|
/Zephyr-latest/soc/st/stm32/ |
D | Kconfig.defconfig | 31 # If sysclock is not LPTIM, tick of 10000 is too high for a frequency lower than 32MHz 36 # set the tick per sec as a divider of the LPTIM clock source
|
/Zephyr-latest/tests/kernel/timer/timer_behavior/src/ |
D | tick_timer_train.c | 78 int64_t tick = k_uptime_ticks(); in ZTEST() local 81 timers[i].last_scheduled = tick + i; in ZTEST()
|
/Zephyr-latest/boards/native/native_posix/ |
D | Kconfig | 14 An interrupt controller, timer (system tick), and redirects kernel prints to
|
/Zephyr-latest/include/zephyr/net/ |
D | net_pkt.h | 1216 uint32_t tick) in net_pkt_set_stats_tick() argument 1224 pkt->detail.stat[pkt->detail.count++] = tick; in net_pkt_set_stats_tick() 1227 #define net_pkt_set_tx_stats_tick(pkt, tick) net_pkt_set_stats_tick(pkt, tick) argument 1228 #define net_pkt_set_rx_stats_tick(pkt, tick) net_pkt_set_stats_tick(pkt, tick) argument 1249 static inline void net_pkt_set_stats_tick(struct net_pkt *pkt, uint32_t tick) in net_pkt_set_stats_tick() argument 1252 ARG_UNUSED(tick); in net_pkt_set_stats_tick() 1255 #define net_pkt_set_tx_stats_tick(pkt, tick) argument 1256 #define net_pkt_set_rx_stats_tick(pkt, tick) argument
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1/radio/ |
D | radio.h | 71 uint32_t radio_tmr_start_tick(uint8_t trx, uint32_t tick);
|
/Zephyr-latest/tests/kernel/usage/thread_runtime_stats/src/ |
D | test_thread_runtime_stats.c | 45 uint32_t tick = sys_clock_tick_get_32(); in busy_loop() local 47 while (sys_clock_tick_get_32() < (tick + ticks)) { in busy_loop()
|
/Zephyr-latest/soc/nxp/imxrt/ |
D | Kconfig.defconfig | 24 # set the tick per sec as a divider of the GPT clock source
|
/Zephyr-latest/drivers/watchdog/ |
D | wdt_rpi_pico.c | 98 watchdog_hw->tick = (ref_clk / RPI_PICO_CLK_REF_FREQ_WDT_TICK_DIVISOR) | in wdt_rpi_pico_setup()
|
/Zephyr-latest/boards/qemu/cortex_r5/doc/ |
D | index.rst | 44 This board configuration uses a system timer tick frequency of 1000 Hz.
|