Function report |
Source Code:kernel\sched\core.c |
Create Date:2022-07-28 09:35:55 |
Last Modify:2022-05-22 13:40:38 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:r_running and nr_context_switches:* externally visible scheduler statistics: current number of runnable* threads, total number of context switches performed since bootup.
Proto:unsigned long nr_running(void)
Type:unsigned long
Parameter:Nothing
3400 | sum = 0 |
3402 | for_each_online_cpu(i) |
3403 | sum += ( & ( * ({ |
3403 | })))->nr_running |
3405 | Return sum |
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 |