Home
last modified time | relevance | path

Searched refs:nr_switches (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/kernel/sched/
H A Ddebug.c712 P(nr_switches); in print_cpu()
943 unsigned long nr_switches; in proc_sched_show_task() local
958 nr_switches = p->nvcsw + p->nivcsw; in proc_sched_show_task()
998 if (nr_switches) in proc_sched_show_task()
999 avg_atom = div64_ul(avg_atom, nr_switches); in proc_sched_show_task()
1015 __P(nr_switches); in proc_sched_show_task()
H A Dsched.h1026 u64 nr_switches; member
H A Dcore.c4022 sum += cpu_rq(i)->nr_switches; in nr_context_switches()
4716 rq->nr_switches++; in __schedule()
/kernel/linux/linux-6.6/kernel/sched/
H A Ddebug.c790 P(nr_switches); in print_cpu()
1010 unsigned long nr_switches; in proc_sched_show_task() local
1025 nr_switches = p->nvcsw + p->nivcsw; in proc_sched_show_task()
1065 if (nr_switches) in proc_sched_show_task()
1066 avg_atom = div64_ul(avg_atom, nr_switches); in proc_sched_show_task()
1086 __P(nr_switches); in proc_sched_show_task()
H A Dcore.c5596 return cpu_rq(cpu)->nr_switches; in nr_context_switches_cpu()
5605 sum += cpu_rq(i)->nr_switches; in nr_context_switches()
6858 rq->nr_switches++; in __schedule()
H A Dsched.h1093 u64 nr_switches; member

Completed in 37 milliseconds