Home
last modified time | relevance | path

Searched refs:current_cycles (Results 1 – 11 of 11) sorted by relevance

/Zephyr-Core-3.7.0/tests/kernel/usage/thread_runtime_stats/src/
Dtest_thread_runtime_stats.c129 zassert_true(stats2.current_cycles > stats1.current_cycles); in ZTEST()
130 zassert_true(stats3.current_cycles > stats2.current_cycles); in ZTEST()
132 zassert_true(stats1.peak_cycles == stats1.current_cycles); in ZTEST()
133 zassert_true(stats2.peak_cycles == stats2.current_cycles); in ZTEST()
134 zassert_true(stats3.peak_cycles == stats3.current_cycles); in ZTEST()
140 zassert_true(stats1.current_cycles == stats1.execution_cycles); in ZTEST()
141 zassert_true(stats2.current_cycles == stats2.execution_cycles); in ZTEST()
142 zassert_true(stats3.current_cycles == stats3.execution_cycles); in ZTEST()
168 zassert_true(stats4.current_cycles <= stats1.current_cycles); in ZTEST()
169 zassert_true(stats5.current_cycles > stats4.current_cycles); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/tests/kernel/common/src/
Dboot_delay.c32 uint32_t current_cycles = k_cycle_get_32(); in ZTEST() local
35 zassert_true(k_cyc_to_ns_floor64(current_cycles) >= in ZTEST()
38 (uint32_t)k_cyc_to_ns_floor64(current_cycles), in ZTEST()
/Zephyr-Core-3.7.0/kernel/
Dbusy_wait.c27 uint32_t current_cycles = k_cycle_get_32(); in z_impl_k_busy_wait() local
30 if ((current_cycles - start_cycles) >= cycles_to_wait) { in z_impl_k_busy_wait()
Dusage.c153 stats->current_cycles = cpu->usage->current; in z_sched_cpu_usage()
209 stats->current_cycles = thread->base.usage.current; in z_sched_thread_usage()
Dthread.c990 stats->current_cycles += tmp_stats.current_cycles; in k_thread_runtime_stats_all_get()
/Zephyr-Core-3.7.0/tests/kernel/obj_core/obj_core_stats/src/
Dmain.c116 sum_query.current_cycles += cpu_query.current_cycles; in ZTEST()
130 zassert_true(sum_query.current_cycles >= kernel_query.current_cycles); in ZTEST()
323 zassert_equal(query3.current_cycles, 0, in ZTEST()
324 "Expected 0, got %llu\n", query3.current_cycles); in ZTEST()
370 zassert_true(query3.current_cycles > 0); in ZTEST()
/Zephyr-Core-3.7.0/drivers/timer/
Darm_arch_timer.c206 uint64_t current_cycles = arm_arch_timer_count(); in arch_busy_wait() local
209 if ((current_cycles - start_cycles) >= cycles_to_wait) { in arch_busy_wait()
/Zephyr-Core-3.7.0/drivers/input/
Dinput_kbd_matrix.c252 uint32_t current_cycles; in input_kbd_matrix_poll() local
271 current_cycles = k_cycle_get_32(); in input_kbd_matrix_poll()
272 cycles_diff = current_cycles - start_period_cycles; in input_kbd_matrix_poll()
/Zephyr-Core-3.7.0/include/zephyr/kernel/
Dthread.h225 uint64_t current_cycles; /* current # of non-idle cycles */ member
/Zephyr-Core-3.7.0/subsys/debug/
Dthread_analyzer.c60 info->usage.current_cycles, info->usage.peak_cycles, in thread_print_cb()
/Zephyr-Core-3.7.0/subsys/shell/modules/
Dkernel_service.c157 (uint32_t)rt_stats_thread.current_cycles); in shell_tdata_dump()