Home
last modified time | relevance | path

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

/Zephyr-latest/tests/kernel/usage/thread_runtime_stats/src/
Dtest_thread_runtime_stats.c108 zassert_true(stats2.execution_cycles > stats1.execution_cycles); in ZTEST()
109 zassert_true(stats3.execution_cycles > stats2.execution_cycles); in ZTEST()
110 zassert_true(stats1.execution_cycles == stats1.total_cycles); in ZTEST()
111 zassert_true(stats2.execution_cycles == stats2.total_cycles); in ZTEST()
112 zassert_true(stats3.execution_cycles == stats3.total_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()
156 zassert_true(stats4.execution_cycles > stats3.execution_cycles); in ZTEST()
157 zassert_true(stats5.execution_cycles > stats4.execution_cycles); in ZTEST()
[all …]
/Zephyr-latest/subsys/shell/modules/kernel_service/thread/
Dlist.c30 pcnt = (rt_stats_thread.execution_cycles * 100U) / in rt_stats_dump()
31 rt_stats_all.execution_cycles; in rt_stats_dump()
41 (uint32_t)rt_stats_thread.execution_cycles, in rt_stats_dump()
/Zephyr-latest/tests/kernel/threads/thread_apis/src/
Dmain.c527 ((k_thread_runtime_stats_t *)user_data)->execution_cycles += in foreach_callback()
528 stats.execution_cycles; in foreach_callback()
541 stats.execution_cycles = 0; in ZTEST()
551 zassert_true(stats.execution_cycles <= stats_all.execution_cycles); in ZTEST()
560 cycles = test_stats.execution_cycles; in ZTEST()
569 dt = test_stats.execution_cycles - cycles; in ZTEST()
572 cycles = test_stats.execution_cycles; in ZTEST()
577 dt = test_stats.execution_cycles - cycles; in ZTEST()
/Zephyr-latest/tests/kernel/obj_core/obj_core_stats/src/
Dmain.c112 sum_query.execution_cycles += cpu_query.execution_cycles; in ZTEST()
126 zassert_true(sum_query.execution_cycles >= kernel_query.execution_cycles); in ZTEST()
286 zassert_true(query2.execution_cycles > query1.execution_cycles, in ZTEST()
316 zassert_equal(query3.execution_cycles, 0, in ZTEST()
317 "Expected 0, got %llu\n", query3.execution_cycles); in ZTEST()
366 zassert_true(query3.execution_cycles > 0); in ZTEST()
/Zephyr-latest/subsys/debug/
Dthread_analyzer.c159 info.utilization = (info.usage.execution_cycles * 100U) / in thread_analyze_cb()
160 rt_stats_all.execution_cycles; in thread_analyze_cb()
/Zephyr-latest/subsys/testsuite/ztest/src/
Dztress.c133 idle_cycles += thread_stats.execution_cycles; in control_load()
142 (rt_stats_all.execution_cycles - total_cycles)); in control_load()
145 total_cycles = rt_stats_all.execution_cycles; in control_load()
/Zephyr-latest/include/zephyr/kernel/
Dthread.h213 uint64_t execution_cycles; /* total # of cycles (cpu: non-idle + idle) */ member
/Zephyr-latest/kernel/
Dusage.c167 stats->execution_cycles = stats->total_cycles + stats->idle_cycles; in z_sched_cpu_usage()
203 stats->execution_cycles = thread->base.usage.total; in z_sched_thread_usage()
Dthread.c981 stats->execution_cycles += tmp_stats.execution_cycles; in k_thread_runtime_stats_all_get()
/Zephyr-latest/subsys/mgmt/mcumgr/grp/os_mgmt/src/
Dos_mgmt.c256 zcbor_uint64_put(zse, thread_stats.execution_cycles); in os_mgmt_taskstat_encode_runtime_info()
/Zephyr-latest/doc/kernel/services/threads/
Dindex.rst553 printk("Cycles: %llu\n", rt_stats_thread.execution_cycles);