Home
last modified time | relevance | path

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

123

/Zephyr-latest/tests/kernel/timer/timer_behavior/pytest/
Dtest_timer.py14 def do_analysis(test, stats, stats_count, config, sys_clock_hw_cycles_per_sec): argument
27 expected_period = test_period * sys_clock_hw_cycles_per_sec / 1_000_000
28 cyc_per_tick = sys_clock_hw_cycles_per_sec / ticks_per_sec
30 sys_clock_hw_cycles_per_sec * 1_000_000)
40 min_cyc = 1. / sys_clock_hw_cycles_per_sec
92 sys_clock_hw_cycles_per_sec): argument
104 do_analysis(test, stats, stats_count, config, sys_clock_hw_cycles_per_sec)
Dconftest.py42 def sys_clock_hw_cycles_per_sec(request, config): function
/Zephyr-latest/tests/kernel/timer/timer_monotonic/src/
Dmain.c23 pct = (uint64_t)delta * 100U / sys_clock_hw_cycles_per_sec(); in test_frequency()
26 sys_clock_hw_cycles_per_sec(), pct); in test_frequency()
62 sys_clock_hw_cycles_per_sec()); in ZTEST()
/Zephyr-latest/tests/kernel/timer/timer_behavior/src/
Djitter_drift.c123 return 1000000.0 * cycles / sys_clock_hw_cycles_per_sec(); in cycles_to_us()
224 (double)CONFIG_TIMER_TEST_PERIOD * (double)sys_clock_hw_cycles_per_sec() in do_test_using()
230 uint32_t cyc_per_tick = sys_clock_hw_cycles_per_sec() in do_test_using()
233 - expected_period) / sys_clock_hw_cycles_per_sec() * 1000000; in do_test_using()
242 sys_clock_hw_cycles_per_sec(), CONFIG_SYS_CLOCK_TICKS_PER_SEC); in do_test_using()
304 sys_clock_hw_cycles_per_sec(), in do_test_using()
/Zephyr-latest/arch/arm/core/cortex_m/
Dtiming.c44 return sys_clock_hw_cycles_per_sec(); in z_arm_dwt_freq_get()
49 uint64_t cyc_freq = sys_clock_hw_cycles_per_sec(); in z_arm_dwt_freq_get()
/Zephyr-latest/tests/kernel/sched/schedule_api/src/
Dtest_sched_timeslice_reset.c23 ((uint64_t)(HALF_SLICE_SIZE)*sys_clock_hw_cycles_per_sec() / 1000)
64 sys_clock_hw_cycles_per_sec() / 1000; in thread_time_slice()
67 sys_clock_hw_cycles_per_sec() / 1000; in thread_time_slice()
/Zephyr-latest/drivers/timer/
Dnpcx_itim_timer.c52 #define SYS_CYCLES_PER_TICK (sys_clock_hw_cycles_per_sec() \
54 #define SYS_CYCLES_PER_USEC (sys_clock_hw_cycles_per_sec() / 1000000)
61 #define SYS_CYC_PER_EVT_CYC (sys_clock_hw_cycles_per_sec() / EVT_CYCLES_PER_SEC)
167 sys_clock_hw_cycles_per_sec()); in npcx_itim_start_evt_tmr_by_tick()
325 sys_clock_hw_cycles_per_sec()) / EVT_CYCLES_PER_SEC; in npcx_clock_compensate_system_timer()
Darm_arch_timer.c19 #define CYC_PER_TICK (uint32_t)(sys_clock_hw_cycles_per_sec() \
203 uint64_t cycles_to_wait = sys_clock_hw_cycles_per_sec() / USEC_PER_SEC * usec_to_wait; in arch_busy_wait()
236 cyc_per_tick = sys_clock_hw_cycles_per_sec() / CONFIG_SYS_CLOCK_TICKS_PER_SEC; in sys_clock_driver_init()
Dwch_systick_ch32v00x.c25 #define CYCLES_PER_SEC sys_clock_hw_cycles_per_sec()
Dcc13xx_cc26xx_rtc_timer.c35 sys_clock_hw_cycles_per_sec())
42 #define CYCLES_PER_TICK (sys_clock_hw_cycles_per_sec() / \
Dcortex_m_systick.c18 #define CYC_PER_TICK (sys_clock_hw_cycles_per_sec() \
394 ((uint64_t)systick_diff * USEC_PER_SEC) / sys_clock_hw_cycles_per_sec(); in sys_clock_idle_exit()
410 missed_cycles = (sys_clock_hw_cycles_per_sec() * measurement_diff_us) / in sys_clock_idle_exit()
/Zephyr-latest/subsys/tracing/sysview/
Dsysview_config.c97 SEGGER_SYSVIEW_Init(sys_clock_hw_cycles_per_sec(), in SEGGER_SYSVIEW_Conf()
98 sys_clock_hw_cycles_per_sec(), in SEGGER_SYSVIEW_Conf()
/Zephyr-latest/arch/common/
Dtiming.c37 return sys_clock_hw_cycles_per_sec(); in arch_timing_freq_get()
/Zephyr-latest/drivers/clock_control/
Dclock_stm32g4.c61 if (sys_clock_hw_cycles_per_sec() >= MHZ(150)) { in config_pll_sysclock()
Dclock_stm32l4_l5_wb_wl.c75 if (sys_clock_hw_cycles_per_sec() >= MHZ(80)) { in config_pll_sysclock()
/Zephyr-latest/samples/boards/nordic/nrf53_sync_rtc/src/
Dmain.c37 if (now > sys_clock_hw_cycles_per_sec()) { in timeout_handler()
/Zephyr-latest/arch/nios2/core/
Dtiming.c49 return sys_clock_hw_cycles_per_sec(); in arch_timing_freq_get()
/Zephyr-latest/tests/arch/x86/info/src/
Dtimer.c48 sys_clock_hw_cycles_per_sec()); in timer()
/Zephyr-latest/tests/lib/sys_util/src/
Dmain.c34 expected = 1000*(sys_clock_hw_cycles_per_sec()/USEC_PER_SEC); in ZTEST()
/Zephyr-latest/arch/x86/
Dtiming.c19 uint64_t cyc_freq = sys_clock_hw_cycles_per_sec();
/Zephyr-latest/drivers/pwm/
Dpwm_litex.c60 *cycles = sys_clock_hw_cycles_per_sec(); in pwm_litex_get_cycles_per_sec()
/Zephyr-latest/subsys/portability/cmsis_rtos_v2/
Dkernel.c116 return sys_clock_hw_cycles_per_sec(); in osKernelGetSysTimerFreq()
/Zephyr-latest/tests/kernel/timer/cycle64/src/
Dmain.c57 (uint32_t)(BIT64(32) / (uint32_t)sys_clock_hw_cycles_per_sec())); in ZTEST()
/Zephyr-latest/soc/nordic/nrf53/
Dsync_rtc.c184 sys_clock_hw_cycles_per_sec(); in remote_callback()
187 sys_clock_hw_cycles_per_sec()); in remote_callback()
/Zephyr-latest/drivers/sensor/aosong/dht/
Ddht.c38 (uint64_t)sys_clock_hw_cycles_per_sec() / in dht_measure_signal_duration()
56 (uint64_t)sys_clock_hw_cycles_per_sec(); in dht_measure_signal_duration()

123