Function report |
Source Code:kernel\sched\fair.c |
Create Date:2022-07-28 09:38:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:The idea is to set a period in which each task runs once.* When there are too many tasks (sched_nr_latency) we have to stretch* this period because otherwise the slices get too small.* p = (nr <= nl) ? l : l*nr/nl
Proto:static u64 __sched_period(unsigned long nr_running)
Type:u64
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | nr_running |
Name | Describe |
---|---|
sched_slice | We calculate the wall-time slice from the period by taking a part* proportional to the weight.* s = p*P[w/rw] |
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 |