Home
last modified time | relevance | path

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

1234

/Zephyr-Core-3.6.0/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-Core-3.6.0/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-Core-3.6.0/subsys/random/
Drand32_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()
Drand32_entropy_device.c33 random_num = k_cycle_get_32(); in z_impl_sys_rand32_get()
75 random_num = k_cycle_get_32(); in rand_get()
/Zephyr-Core-3.6.0/tests/lib/sys_util/src/
Dmain.c35 start = k_cycle_get_32(); in ZTEST()
37 end = k_cycle_get_32(); in ZTEST()
/Zephyr-Core-3.6.0/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-Core-3.6.0/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-Core-3.6.0/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-Core-3.6.0/arch/x86/
Dtiming.c23 cyc_start = k_cycle_get_32();
28 cyc_end = k_cycle_get_32();
/Zephyr-Core-3.6.0/tests/boards/intel_adsp/smoke/src/
Dmain.c24 cyc0 = k_cycle_get_32(); in ZTEST()
32 cyc1 = k_cycle_get_32(); in ZTEST()
/Zephyr-Core-3.6.0/arch/arm/core/cortex_m/
Dtiming.c58 cyc_start = k_cycle_get_32(); in z_arm_dwt_freq_get()
63 cyc_end = k_cycle_get_32(); in z_arm_dwt_freq_get()
/Zephyr-Core-3.6.0/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-Core-3.6.0/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-Core-3.6.0/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-Core-3.6.0/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-Core-3.6.0/subsys/portability/cmsis_rtos_v1/
Dcmsis_kernel.c17 return k_cycle_get_32(); in osKernelSysTick()
/Zephyr-Core-3.6.0/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()
Dpolicy.c153 uint32_t cyc_curr = k_cycle_get_32(); in pm_policy_next_state()
303 uint32_t cyc = k_cycle_get_32(); in pm_policy_event_register()
315 uint32_t cyc = k_cycle_get_32(); in pm_policy_event_update()
328 update_next_event(k_cycle_get_32()); in pm_policy_event_unregister()
/Zephyr-Core-3.6.0/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-Core-3.6.0/tests/drivers/clock_control/nrf_lf_clock_start/src/
Dmain.c83 zassert_true(k_cycle_get_32() > 0); in ZTEST()
126 rtc_cnt = k_cycle_get_32(); in get_lfclk_state()
/Zephyr-Core-3.6.0/arch/common/
Dtiming.c25 return k_cycle_get_32(); in arch_timing_counter_get()
/Zephyr-Core-3.6.0/tests/lib/ringbuffer/src/
Dmain.c950 timestamp = k_cycle_get_32(); in ZTEST()
955 timestamp = k_cycle_get_32() - timestamp; in ZTEST()
960 timestamp = k_cycle_get_32(); in ZTEST()
965 timestamp = k_cycle_get_32() - timestamp; in ZTEST()
970 timestamp = k_cycle_get_32(); in ZTEST()
976 timestamp = k_cycle_get_32() - timestamp; in ZTEST()
981 timestamp = k_cycle_get_32(); in ZTEST()
987 timestamp = k_cycle_get_32() - timestamp; in ZTEST()
992 timestamp = k_cycle_get_32(); in ZTEST()
998 timestamp = k_cycle_get_32() - timestamp; in ZTEST()
/Zephyr-Core-3.6.0/subsys/tracing/sysview/
Dsysview.c18 return k_cycle_get_32(); in sysview_get_timestamp()

1234