Function report |
Source Code:kernel\sched\core.c |
Create Date:2022-07-28 09:36:17 |
| Last Modify:2022-05-22 13:40:38 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:dle_cpu - is a given CPU idle currently?*@cpu: the processor in question.* Return: 1 if the CPU is currently idle. 0 otherwise.
Proto:int idle_cpu(int cpu)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | cpu |
| 4639 | If * nr_running and cpu_load should be in the same cacheline because * remote CPUs use both these fields when doing load calculation. Then Return 0 |
| 4647 | Return 1 |
| Name | Describe |
|---|---|
| available_idle_cpu | available_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. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |