Home
last modified time | relevance | path

Searched refs:idle_cycles (Results 1 – 6 of 6) sorted by relevance

/Zephyr-Core-3.6.0/tests/kernel/usage/thread_runtime_stats/src/
Dtest_thread_runtime_stats.c112 zassert_true(stats1.idle_cycles == stats2.idle_cycles); in ZTEST()
113 zassert_true(stats1.idle_cycles == stats3.idle_cycles); in ZTEST()
178 zassert_true(stats4.idle_cycles > stats3.idle_cycles); in ZTEST()
179 zassert_true(stats4.idle_cycles == stats5.idle_cycles); in ZTEST()
321 zassert_true(sys_stats1.idle_cycles == sys_stats2.idle_cycles); in ZTEST()
365 zassert_true(sys_stats2.idle_cycles == sys_stats3.idle_cycles); in ZTEST()
499 zassert_true(stats3.idle_cycles == 0); in ZTEST()
/Zephyr-Core-3.6.0/tests/kernel/obj_core/obj_core_stats/src/
Dmain.c121 sum_query.idle_cycles += cpu_query.idle_cycles; in ZTEST()
135 zassert_true(sum_query.idle_cycles >= kernel_query.idle_cycles); in ZTEST()
302 zassert_equal(query2.idle_cycles, 0, in ZTEST()
303 "Expected 0, got %llu\n", query2.idle_cycles); in ZTEST()
332 zassert_equal(query3.idle_cycles, 0, in ZTEST()
333 "Expected 0, got %llu\n", query3.idle_cycles); in ZTEST()
375 zassert_true(query3.idle_cycles == 0); in ZTEST()
/Zephyr-Core-3.6.0/subsys/testsuite/ztest/src/
Dztress.c120 uint64_t idle_cycles = 0; in control_load() local
133 idle_cycles += thread_stats.execution_cycles; in control_load()
141 int load = 1000 - (1000 * (idle_cycles - prev_idle_cycles) / in control_load()
144 prev_idle_cycles = idle_cycles; in control_load()
/Zephyr-Core-3.6.0/kernel/
Dusage.c164 stats->idle_cycles = in z_sched_cpu_usage()
167 stats->execution_cycles = stats->total_cycles + stats->idle_cycles; in z_sched_cpu_usage()
221 stats->idle_cycles = 0; in z_sched_thread_usage()
Dthread.c1217 stats->idle_cycles += tmp_stats.idle_cycles; in k_thread_runtime_stats_all_get()
/Zephyr-Core-3.6.0/include/zephyr/kernel/
Dthread.h228 uint64_t idle_cycles; member