Function report |
Source Code:include\linux\sched.h |
Create Date:2022-07-28 05:59:47 |
| Last Modify:2021-07-28 10:30:23 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:task_cpu
Proto:static inline unsigned int task_cpu(const struct task_struct *p)
Type:unsigned int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct task_struct * | p |
| 1847 | Return 0 |
| Name | Describe |
|---|---|
| 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 |
| 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 |