Function report |
Source Code:kernel\sched\idle.c |
Create Date:2022-07-28 09:37:46 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:call_cpuidle
Proto:static int call_cpuidle(struct cpuidle_driver *drv, struct cpuidle_device *dev, int next_state)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct cpuidle_driver * | drv | |
| struct cpuidle_device * | dev | |
| int | next_state |
| 106 | If current_clr_polling_and_test() Then |
| 107 | last_residency_ns = 0 |
| 109 | Return -EBUSY |
| 117 | Return cpuidle_enter(drv, dev, next_state) |
| Name | Describe |
|---|---|
| cpuidle_idle_call | puidle_idle_call - the main idle function* NOTE: no locks or semaphores should be used here* On archs that support TIF_POLLING_NRFLAG, is called with polling* set, and it returns with polling set. If it ever stops polling, it* must clear the polling bit. |
| 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 |