Function report |
Source Code:include\linux\sched\prio.h |
Create Date:2022-07-28 05:38:36 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Convert nice value [19,-20] to rlimit style value [1,40].
Proto:static inline long nice_to_rlimit(long nice)
Type:long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| long | nice |
| Name | Describe |
|---|---|
| SYSCALL_DEFINE2 | Ugh. To avoid negative return values, "getpriority()" will* not return the normal nice-value, but a negated value that* has been offset by 20 (ie it returns 40..1 instead of -20..19)* to stay compatible. |
| can_nice | an_nice - check if a task can reduce its nice value*@p: task*@nice: nice value |
| 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 |