Function report |
Source Code:kernel\sched\core.c |
Create Date:2022-07-28 09:35:38 |
Last Modify:2022-05-22 13:40:38 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ttwu_stat
Proto:static void ttwu_stat(struct task_struct *p, int cpu, int wake_flags)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | p | |
int | cpu | |
int | wake_flags |
2181 | If Not schedstat_enabled() Then Return |
2208 | __schedstat_inc(ttwu_count) |
2209 | __schedstat_inc(nr_wakeups) |
2211 | If wake_flags & Waker goes to sleep after wakeup Then __schedstat_inc(nr_wakeups_sync) |
Name | Describe |
---|---|
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. |
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 |