Home
last modified time | relevance | path

Searched refs:average_cycles (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/tests/kernel/usage/thread_runtime_stats/src/
Dtest_thread_runtime_stats.c136 zassert_true(stats1.average_cycles == 0); in ZTEST()
137 zassert_true(stats2.average_cycles == 0); in ZTEST()
138 zassert_true(stats3.average_cycles == 0); in ZTEST()
175 zassert_true(stats4.average_cycles > stats3.average_cycles); in ZTEST()
176 zassert_true(stats5.average_cycles > stats4.average_cycles); in ZTEST()
318 zassert_true(sys_stats1.average_cycles == sys_stats2.average_cycles, in ZTEST()
362 zassert_true(sys_stats2.average_cycles > sys_stats3.average_cycles, in ZTEST()
534 zassert_true(stats4.average_cycles > stats3.average_cycles); in ZTEST()
535 zassert_true(stats4.average_cycles > stats5.average_cycles); in ZTEST()
536 zassert_true(stats5.average_cycles >= stats3.average_cycles); in ZTEST()
/Zephyr-latest/tests/kernel/obj_core/obj_core_stats/src/
Dmain.c118 sum_query.average_cycles += cpu_query.average_cycles; in ZTEST()
132 zassert_true(sum_query.average_cycles >= kernel_query.average_cycles); in ZTEST()
327 zassert_equal(query3.average_cycles, 0, in ZTEST()
328 "Expected 0, got %llu\n", query3.average_cycles); in ZTEST()
372 zassert_true(query3.average_cycles > 0); in ZTEST()
/Zephyr-latest/kernel/
Dusage.c157 stats->average_cycles = 0; in z_sched_cpu_usage()
159 stats->average_cycles = stats->total_cycles / in z_sched_cpu_usage()
213 stats->average_cycles = 0; in z_sched_thread_usage()
215 stats->average_cycles = stats->total_cycles / in z_sched_thread_usage()
Dthread.c986 stats->average_cycles += tmp_stats.average_cycles; in k_thread_runtime_stats_all_get()
/Zephyr-latest/subsys/shell/modules/kernel_service/thread/
Dlist.c49 (uint32_t)rt_stats_thread.average_cycles); in rt_stats_dump()
/Zephyr-latest/include/zephyr/kernel/
Dthread.h227 uint64_t average_cycles; /* average # of non-idle cycles */ member
/Zephyr-latest/subsys/debug/
Dthread_analyzer.c74 info->usage.average_cycles); in thread_print_cb()