Home
last modified time | relevance | path

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

/Zephyr-latest/tests/kernel/obj_core/obj_core_stats/src/
Dmain.c53 struct k_thread_runtime_stats kernel_query; in ZTEST() local
99 status = k_obj_core_stats_query(K_OBJ_CORE(&_kernel), &kernel_query, in ZTEST()
100 sizeof(kernel_query)); in ZTEST()
126 zassert_true(sum_query.execution_cycles >= kernel_query.execution_cycles); in ZTEST()
127 zassert_true(sum_query.total_cycles >= kernel_query.total_cycles); in ZTEST()
130 zassert_true(sum_query.current_cycles >= kernel_query.current_cycles); in ZTEST()
131 zassert_true(sum_query.peak_cycles >= kernel_query.peak_cycles); in ZTEST()
132 zassert_true(sum_query.average_cycles >= kernel_query.average_cycles); in ZTEST()
135 zassert_true(sum_query.idle_cycles >= kernel_query.idle_cycles); in ZTEST()