Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\core.c Create Date:2022-07-28 09:35:57
Last Modify:2022-05-22 13:40:38 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:nr_context_switches

Proto:unsigned long long nr_context_switches(void)

Type:unsigned long long

Parameter:Nothing

3430  sum = 0
3432  for_each_possible_cpu(i)
3433  sum += ( & ( * ({
3433  ({
3433  Do
3433  const void * __vpp_verify = NULL
3433  When 0 cycle
3433  &runqueues
3433  })
3433  })))->nr_switches
3435  Return sum
Caller
NameDescribe
rcu_scheduler_startingThis function is invoked towards the end of the scheduler's* initialization process. Before this is called, the idle task might* contain synchronous grace-period primitives (during which time, this idle