Home
last modified time | relevance | path

Searched refs:tick (Results 1 – 25 of 59) sorted by relevance

123

/Zephyr-latest/kernel/
Dtimeout.c298 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/
Dkernel.c12 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/
Dsys_clock.h225 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/
Dhal_common.c102 uint32_t RtcTick2Ms(uint32_t tick) in RtcTick2Ms() argument
104 return tick; in RtcTick2Ms()
/Zephyr-latest/tests/kernel/context/
DREADME.txt35 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/
DKconfig.stm32_rtc27 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/
Dmain.c393 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/
Dmain.c79 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/
DKconfig.ti_dm_timer13 driver provides system tick interface.
Dsmartbond_timer.c19 #define TICK_TO_CYC(tick) k_ticks_to_cyc_ceil32(tick) argument
DKconfig.stm32_lptim50 bool "Override tick to freq ratio check"
53 For LPTIM configuration, a specific tick freq is advised
DKconfig.gecko21 scheduling. Kernel tick duration should be at least 6 BURTC clock
/Zephyr-latest/tests/kernel/timer/timer_behavior/
DKconfig36 # 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/
Dclocks.rst35 "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/
DREADME.txt8 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/
DREADME.rst11 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/
DKconfig.defconfig31 # 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/
Dtick_timer_train.c78 int64_t tick = k_uptime_ticks(); in ZTEST() local
81 timers[i].last_scheduled = tick + i; in ZTEST()
/Zephyr-latest/boards/native/native_posix/
DKconfig14 An interrupt controller, timer (system tick), and redirects kernel prints to
/Zephyr-latest/include/zephyr/net/
Dnet_pkt.h1216 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/
Dradio.h71 uint32_t radio_tmr_start_tick(uint8_t trx, uint32_t tick);
/Zephyr-latest/tests/kernel/usage/thread_runtime_stats/src/
Dtest_thread_runtime_stats.c45 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/
DKconfig.defconfig24 # set the tick per sec as a divider of the GPT clock source
/Zephyr-latest/drivers/watchdog/
Dwdt_rpi_pico.c98 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/
Dindex.rst44 This board configuration uses a system timer tick frequency of 1000 Hz.

123