Function report |
Source Code:kernel\sched\sched.h |
Create Date:2022-07-28 05:59:29 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:add_nr_running
Proto:static inline void add_nr_running(struct rq *rq, unsigned count)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct rq * | rq | |
| unsigned | count |
| 1915 | prev_nr = * nr_running and cpu_load should be in the same cacheline because * remote CPUs use both these fields when doing load calculation. |
| 1917 | * nr_running and cpu_load should be in the same cacheline because * remote CPUs use both these fields when doing load calculation. = prev_nr + count |
| Name | Describe |
|---|---|
| enqueue_task_fair | The enqueue_task method is called before nr_running is* increased. Here we update the fair scheduling stats and* then put the task into the rbtree: |
| enqueue_top_rt_rq | |
| inc_dl_tasks | |
| enqueue_task_stop |
| 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 |