Home
last modified time | relevance | path

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

/Zephyr-latest/tests/kernel/obj_core/obj_core_stats/src/
Dmain.c55 struct k_thread_runtime_stats sum_query; in ZTEST() local
103 sum_query = (struct k_thread_runtime_stats){}; in ZTEST()
112 sum_query.execution_cycles += cpu_query.execution_cycles; in ZTEST()
113 sum_query.total_cycles += cpu_query.total_cycles; in ZTEST()
116 sum_query.current_cycles += cpu_query.current_cycles; in ZTEST()
117 sum_query.peak_cycles += cpu_query.peak_cycles; in ZTEST()
118 sum_query.average_cycles += cpu_query.average_cycles; in ZTEST()
121 sum_query.idle_cycles += cpu_query.idle_cycles; 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()
[all …]