函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\core.c Create Date:2022-07-27 10:36:33
Last Modify:2022-05-22 13:40:38 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:nr_context_switches

函数原型:unsigned long long nr_context_switches(void)

返回类型:unsigned long long

参数:

3430  sum等于0
3432  遍历可用CPU(i)
3433  sum += ( & ( * ({
3433  ({
3433  循环
3433  const void * __vpp_verify = NULL
3433  当0循环
3433  runqueues的地址
3433  })
3433  })))->nr_switches
3435  返回:sum
调用者
名称描述
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