Function report | 
Source Code:include\linux\sched.h | 
Create Date:2022-07-28 05:59:45 | 
| Last Modify:2021-07-28 10:30:23 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:ask_nice - return the nice value of a given task.*@p: the task in question.* Return: The nice value [ -20 ... 0 ... 19 ].
Proto:static inline int task_nice(const struct task_struct *p)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const struct task_struct * | p | 
| 1618 | Return PRIO_TO_NICE(static_prio) | 
| Name | Describe | 
|---|---|
| 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 | 
| 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  |