函数逻辑报告 |
Source Code:include\linux\sched.h |
Create Date:2022-07-27 06:58:36 |
Last Modify:2021-07-28 10:30:23 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:task_cpu
函数原型:static inline unsigned int task_cpu(const struct task_struct *p)
返回类型:unsigned int
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct task_struct * | p |
1847 | 返回:0 |
名称 | 描述 |
---|---|
task_curr | ask_curr - is this task currently executing on a CPU?*@p: the task in question.* Return: 1 if the task is currently executing. 0 otherwise. |
try_to_wake_up | ry_to_wake_up - wake up a thread*@p: the thread to be awakened*@state: the mask of task states that can be woken*@wake_flags: wake modifier flags (WF_*)* If (@state & @p->state) @p->state = TASK_RUNNING. |
prefetch_curr_exec_start | The function fair_sched_class.update_curr accesses the struct curr* and its field curr->exec_start; when called from task_sched_runtime(),* we observe a high rate of cache misses in practice.* Prefetching this data results in improved performance. |
task_cfs_rq | |
task_non_contending | The utilization of a task cannot be immediately removed from* the rq active utilization (running_bw) when the task blocks |
inactive_task_timer | |
sched_dl_overflow | We must be sure that accepting a new task (or allowing changing the* parameters of an existing one) is consistent with the bandwidth* constraints. If yes, this function also accordingly updates the currently |
print_rq | |
psi_task_change | |
rcu_torture_stats_print | Print torture statistics |
rcu_request_urgent_qs_task | If a holdout task is actually running, request an urgent quiescent* state from its CPU |
tracing_sched_switch_trace | |
tracing_sched_wakeup_trace | |
probe_wakeup | |
remote_function | |
task_function_call | ask_function_call - call a function on the cpu on which a task runs*@p: the task to evaluate*@func: the function to be called*@info: the function call argument* Calls the function @func when the task is currently running |
task_node | |
kdb_process_cpu | |
rcu_check_gp_kthread_starvation | Complain about starvation of grace-period kthread. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |