Home
last modified time | relevance | path

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

/linux/tools/perf/util/
H A Dkwork.h138 u32 cpu_usage; member
/linux/tools/perf/
H A Dbuiltin-kwork.c142 if (l->cpu_usage > r->cpu_usage) in cpu_usage_cmp()
144 if (l->cpu_usage < r->cpu_usage) in cpu_usage_cmp()
1661 (double)work->cpu_usage / 100); in top_print_work()
2091 work->cpu_usage = work->total_runtime * 10000 / in top_calc_cpu_usage()
2141 merged_work->cpu_usage += data->cpu_usage; in top_merge_tasks()
H A Dbuiltin-sched.c76 u64 cpu_usage; member
203 u64 cpu_usage; member
643 this_task->cpu_usage = cpu_usage_1 - cpu_usage_0; in thread_func()
712 sched->cpu_usage = 0; in wait_for_tasks()
732 sched->cpu_usage += task->cpu_usage; in wait_for_tasks()
733 task->cpu_usage = 0; in wait_for_tasks()
738 sched->runavg_cpu_usage = sched->cpu_usage; in wait_for_tasks()
739 …sched->runavg_cpu_usage = (sched->runavg_cpu_usage * (sched->replay_repeat - 1) + sched->cpu_usage in wait_for_tasks()
784 (double)sched->cpu_usage / NSEC_PER_MSEC, (double)sched->runavg_cpu_usage / NSEC_PER_MSEC); in run_one_test()