/Zephyr-latest/tests/kernel/timer/timer_behavior/pytest/ |
D | test_timer.py | 14 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)
|
D | conftest.py | 42 def sys_clock_hw_cycles_per_sec(request, config): function
|
/Zephyr-latest/tests/kernel/timer/timer_monotonic/src/ |
D | main.c | 23 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/ |
D | jitter_drift.c | 123 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/ |
D | timing.c | 44 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/ |
D | test_sched_timeslice_reset.c | 23 ((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/ |
D | npcx_itim_timer.c | 52 #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()
|
D | arm_arch_timer.c | 19 #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()
|
D | wch_systick_ch32v00x.c | 25 #define CYCLES_PER_SEC sys_clock_hw_cycles_per_sec()
|
D | cc13xx_cc26xx_rtc_timer.c | 35 sys_clock_hw_cycles_per_sec()) 42 #define CYCLES_PER_TICK (sys_clock_hw_cycles_per_sec() / \
|
D | cortex_m_systick.c | 18 #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/ |
D | sysview_config.c | 97 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/ |
D | timing.c | 37 return sys_clock_hw_cycles_per_sec(); in arch_timing_freq_get()
|
/Zephyr-latest/drivers/clock_control/ |
D | clock_stm32g4.c | 61 if (sys_clock_hw_cycles_per_sec() >= MHZ(150)) { in config_pll_sysclock()
|
D | clock_stm32l4_l5_wb_wl.c | 75 if (sys_clock_hw_cycles_per_sec() >= MHZ(80)) { in config_pll_sysclock()
|
/Zephyr-latest/samples/boards/nordic/nrf53_sync_rtc/src/ |
D | main.c | 37 if (now > sys_clock_hw_cycles_per_sec()) { in timeout_handler()
|
/Zephyr-latest/arch/nios2/core/ |
D | timing.c | 49 return sys_clock_hw_cycles_per_sec(); in arch_timing_freq_get()
|
/Zephyr-latest/tests/arch/x86/info/src/ |
D | timer.c | 48 sys_clock_hw_cycles_per_sec()); in timer()
|
/Zephyr-latest/tests/lib/sys_util/src/ |
D | main.c | 34 expected = 1000*(sys_clock_hw_cycles_per_sec()/USEC_PER_SEC); in ZTEST()
|
/Zephyr-latest/arch/x86/ |
D | timing.c | 19 uint64_t cyc_freq = sys_clock_hw_cycles_per_sec();
|
/Zephyr-latest/drivers/pwm/ |
D | pwm_litex.c | 60 *cycles = sys_clock_hw_cycles_per_sec(); in pwm_litex_get_cycles_per_sec()
|
/Zephyr-latest/subsys/portability/cmsis_rtos_v2/ |
D | kernel.c | 116 return sys_clock_hw_cycles_per_sec(); in osKernelGetSysTimerFreq()
|
/Zephyr-latest/tests/kernel/timer/cycle64/src/ |
D | main.c | 57 (uint32_t)(BIT64(32) / (uint32_t)sys_clock_hw_cycles_per_sec())); in ZTEST()
|
/Zephyr-latest/soc/nordic/nrf53/ |
D | sync_rtc.c | 184 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/ |
D | dht.c | 38 (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()
|