函数逻辑报告 |
Source Code:include\linux\sched.h |
Create Date:2022-07-27 06:58:35 |
Last Modify:2021-07-28 10:30:23 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:返回给定任务的值
函数原型:static inline int task_nice(const struct task_struct *p)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct task_struct * | p |
1618 | 返回:PRIO_TO_NICE(静态优先级) |
名称 | 描述 |
---|---|
set_one_prio | set the priority of a task* - the caller must hold the RCU read lock |
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. |
set_user_nice | |
SYSCALL_DEFINE1 | sys_nice - change the priority of the current process.*@increment: priority increment* sys_setpriority is a more generic, but much slower function that* does similar things. |
__sched_setscheduler | |
SYSCALL_DEFINE4 | sys_sched_getattr - similar to sched_getparam, but with sched_attr*@pid: the pid in question.*@uattr: structure containing the extended parameters.*@usize: sizeof(attr) for fwd/bwd comp.*@flags: for future extension. |
account_user_time | Account user CPU time to a process.*@p: the process that the CPU time gets accounted to*@cputime: the CPU time spent in user space since the last update |
account_guest_time | Account guest CPU time to a process.*@p: the process that the CPU time gets accounted to*@cputime: the CPU time spent in virtual machine since the last update |
bacct_add_tsk | ll in basic accounting fields |
__estimate_accuracy | |
task_nice_ioprio | process has set io priority explicitly, use that. if not, convert* the cpu scheduler nice value to an io priority |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |