Function report |
Source Code:arch\x86\kernel\apm_32.c |
Create Date:2022-07-28 08:22:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:apm_do_idle - perform power saving* This function notifies the BIOS that the processor is (in the view* of the OS) idle. It returns -1 in the event that the BIOS refuses* to handle the idle request. On a success the function returns 1
Proto:static int apm_do_idle(void)
Type:int
Parameter:Nothing
838 | ret = 0 |
839 | idled = 0 |
840 | err = 0 |
842 | If Not need_resched() Then |
843 | idled = 1 |
847 | If Not idled Then Return 0 |
850 | If ret Then |
862 | clock_slowed = (flags & APM_IDLE_SLOWS_CLOCK) != 0 |
863 | Return clock_slowed |
Name | Describe |
---|---|
apm_cpu_idle |
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 |