函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:dle_cpu - is a given CPU idle currently?*@cpu: the processor in question.* Return: 1 if the CPU is currently idle. 0 otherwise.

函数原型:int idle_cpu(int cpu)

返回类型:int

参数:

类型参数名称
intcpu
4634  rq等于cpu_rq(cpu)
4636  如果当前任务不等于空闲任务则返回:0
4639  如果可运行进程数则返回:0
4647  返回:1
调用者
名称描述
available_idle_cpuavailable_idle_cpu - is a given CPU idle for enqueuing work.*@cpu: the CPU in question.* Return: 1 if the CPU is currently idle. 0 otherwise.
uv_heartbeatpercpu heartbeat timer