Home
last modified time | relevance | path

Searched refs:k_cycle_get_32 (Results 1 – 25 of 100) sorted by relevance

1234

/Zephyr-latest/samples/boards/nxp/adsp/number_crunching/src/
Dmath_ops.c35 start = k_cycle_get_32(); in test_vec_sum_int16_op()
39 stop = k_cycle_get_32(); in test_vec_sum_int16_op()
54 start = k_cycle_get_32(); in test_power_int16_op()
58 stop = k_cycle_get_32(); in test_power_int16_op()
76 start = k_cycle_get_32(); in test_power_int32_op()
80 stop = k_cycle_get_32(); in test_power_int32_op()
96 start = k_cycle_get_32(); in test_fft_op()
100 stop = k_cycle_get_32(); in test_fft_op()
110 start = k_cycle_get_32(); in test_iir_op()
114 stop = k_cycle_get_32(); in test_iir_op()
[all …]
/Zephyr-latest/tests/kernel/timer/timer_monotonic/src/
Dmain.c18 start = k_cycle_get_32(); in test_frequency()
20 end = k_cycle_get_32(); in test_frequency()
64 t_last = k_cycle_get_32(); in ZTEST()
67 t_now = k_cycle_get_32(); in ZTEST()
/Zephyr-latest/subsys/random/
Drandom_xoshiro128.c69 state[0] = k_cycle_get_32(); in xoshiro128_init_state()
70 state[1] = k_cycle_get_32() ^ 0x9b64c2b0; in xoshiro128_init_state()
71 state[2] = k_cycle_get_32() ^ 0x86d3d2d4; in xoshiro128_init_state()
72 state[3] = k_cycle_get_32() ^ 0xa00ae278; in xoshiro128_init_state()
/Zephyr-latest/tests/kernel/common/src/
Dclock.c116 c32 = k_cycle_get_32(); in ZTEST()
118 while (k_cycle_get_32() > c32 && in ZTEST()
119 k_cycle_get_32() < (c32 + k_ticks_to_cyc_floor32(1))) { in ZTEST()
124 c0 = k_cycle_get_32(); in ZTEST()
159 t32[0] = k_cycle_get_32(); in ZTEST()
163 t32[1] = k_cycle_get_32(); in ZTEST()
Dboot_delay.c32 uint32_t current_cycles = k_cycle_get_32(); in ZTEST()
/Zephyr-latest/samples/boards/nordic/coresight_stm/src/
Dmain.c19 uint32_t t = k_cycle_get_32(); \
23 t = k_cycle_get_32() - t; \
66 t = k_cycle_get_32(); in main()
67 delta = k_cycle_get_32() - t; in main()
/Zephyr-latest/kernel/
Dbusy_wait.c23 uint32_t start_cycles = k_cycle_get_32(); in z_impl_k_busy_wait()
27 uint32_t current_cycles = k_cycle_get_32(); in z_impl_k_busy_wait()
/Zephyr-latest/modules/canopennode/
Dcanopen_sync.c32 start = k_cycle_get_32(); in canopen_sync_thread()
42 stop = k_cycle_get_32(); in canopen_sync_thread()
/Zephyr-latest/tests/benchmarks/cmsis_dsp/common/
Dbenchmark_common.h55 now = k_cycle_get_32(); in benchmark_begin()
66 now = k_cycle_get_32(); in benchmark_end()
/Zephyr-latest/samples/modules/cmsis_dsp/moving_average/src/
Dmain.c39 start = k_cycle_get_32(); in main()
41 end = k_cycle_get_32(); in main()
/Zephyr-latest/tests/lib/sys_util/src/
Dmain.c35 start = k_cycle_get_32(); in ZTEST()
37 end = k_cycle_get_32(); in ZTEST()
/Zephyr-latest/arch/x86/
Dtiming.c23 cyc_start = k_cycle_get_32();
28 cyc_end = k_cycle_get_32();
/Zephyr-latest/drivers/spi/
Dspi_nrfx_common.c60 start_cycles = k_cycle_get_32(); in spi_nrfx_wake_request()
62 uint32_t elapsed_cycles = k_cycle_get_32() - start_cycles; in spi_nrfx_wake_request()
/Zephyr-latest/arch/arm/core/cortex_m/
Dtiming.c57 cyc_start = k_cycle_get_32(); in z_arm_dwt_freq_get()
62 cyc_end = k_cycle_get_32(); in z_arm_dwt_freq_get()
/Zephyr-latest/tests/kernel/sched/schedule_api/src/
Dtest_sched_timeslice_reset.c43 now = k_cycle_get_32(); in cycles_delta()
178 t32 = k_cycle_get_32(); in ZTEST()
179 while (k_cycle_get_32() - t32 < half_slice_cyc) { in ZTEST()
/Zephyr-latest/samples/kernel/metairq_dispatch/src/
Dmsgdev.c41 state = ((uint64_t)k_cycle_get_32()) << 16; in rand32()
57 uint32_t timestamp = k_cycle_get_32(); in dev_timer_expired()
Dmain.c62 m.metairq_latency = k_cycle_get_32() - m.timestamp; in metairq_fn()
189 uint32_t start = k_cycle_get_32(); in thread_fn()
199 while (k_cycle_get_32() - start < m.proc_cyc) { in thread_fn()
205 uint32_t dur = k_cycle_get_32() - start; in thread_fn()
/Zephyr-latest/tests/boards/intel_adsp/smoke/src/
Dmain.c24 cyc0 = k_cycle_get_32(); in ZTEST()
32 cyc1 = k_cycle_get_32(); in ZTEST()
/Zephyr-latest/tests/kernel/early_sleep/src/
Dmain.c60 start_time = k_cycle_get_32(); in ticks_to_sleep()
62 stop_time = k_cycle_get_32(); in ticks_to_sleep()
/Zephyr-latest/tests/boards/mtk_adsp/src/
Dmain.c25 uint32_t t0 = k_cycle_get_32(), cc0 = ccount(); in cpu_hz()
29 uint32_t t1 = k_cycle_get_32(), cc1 = ccount(); in cpu_hz()
/Zephyr-latest/subsys/portability/cmsis_rtos_v1/
Dcmsis_kernel.c17 return k_cycle_get_32(); in osKernelSysTick()
/Zephyr-latest/subsys/shell/modules/kernel_service/
Dcycles.c17 shell_print(sh, "cycles: %u hw cycles", k_cycle_get_32()); in cmd_kernel_cycles()
/Zephyr-latest/subsys/pm/
Dpm_stats.c56 time_start[_current_cpu->id] = k_cycle_get_32(); in pm_stats_start()
61 time_stop[_current_cpu->id] = k_cycle_get_32(); in pm_stats_stop()
/Zephyr-latest/samples/arch/smp/pi/src/
Dmain.c89 start_time = k_cycle_get_32(); in main()
104 stop_time = k_cycle_get_32(); in main()
/Zephyr-latest/tests/drivers/clock_control/nrf_lf_clock_start/src/
Dmain.c80 zassert_true(k_cycle_get_32() > 0); in ZTEST()
123 rtc_cnt = k_cycle_get_32(); in get_lfclk_state()

1234