Home
last modified time | relevance | path

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

/Zephyr-latest/tests/kernel/usage/thread_runtime_stats/src/
Dtest_thread_runtime_stats.c270 k_thread_runtime_stats_t sys_stats2; in ZTEST() local
289 k_thread_runtime_stats_all_get(&sys_stats2); in ZTEST()
310 zassert_true(sys_stats1.execution_cycles == sys_stats2.execution_cycles, in ZTEST()
312 zassert_true(sys_stats1.total_cycles == sys_stats2.total_cycles); in ZTEST()
315 zassert_true(sys_stats1.current_cycles == sys_stats2.current_cycles, in ZTEST()
317 zassert_true(sys_stats1.peak_cycles == sys_stats2.peak_cycles); in ZTEST()
318 zassert_true(sys_stats1.average_cycles == sys_stats2.average_cycles, in ZTEST()
323 zassert_true(sys_stats1.idle_cycles == sys_stats2.idle_cycles); in ZTEST()
346 zassert_true(sys_stats2.execution_cycles < sys_stats3.execution_cycles, in ZTEST()
348 zassert_true(sys_stats2.total_cycles < sys_stats3.total_cycles); in ZTEST()
[all …]