函数逻辑报告 |
Source Code:include\linux\sched\prio.h |
Create Date:2022-07-27 06:40:56 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Convert nice value [19,-20] to rlimit style value [1,40].
函数原型:static inline long nice_to_rlimit(long nice)
返回类型:long
参数:
类型 | 参数 | 名称 |
---|---|---|
long | nice |
名称 | 描述 |
---|---|
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |