Searched refs:rt_stats_thread (Results 1 – 2 of 2) sorted by relevance
16 k_thread_runtime_stats_t rt_stats_thread; in rt_stats_dump() local21 if (k_thread_runtime_stats_get(thread, &rt_stats_thread) != 0) { in rt_stats_dump()30 pcnt = (rt_stats_thread.execution_cycles * 100U) / in rt_stats_dump()41 (uint32_t)rt_stats_thread.execution_cycles, in rt_stats_dump()45 (uint32_t)rt_stats_thread.current_cycles); in rt_stats_dump()47 (uint32_t)rt_stats_thread.peak_cycles); in rt_stats_dump()49 (uint32_t)rt_stats_thread.average_cycles); in rt_stats_dump()
549 k_thread_runtime_stats_t rt_stats_thread;551 k_thread_runtime_stats_get(k_current_get(), &rt_stats_thread);553 printk("Cycles: %llu\n", rt_stats_thread.execution_cycles);