Function report |
Source Code:kernel\sched\psi.c |
Create Date:2022-07-28 09:46:08 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:group_init
Proto:static void group_init(struct psi_group *group)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct psi_group * | group |
| 186 | for_each_possible_cpu(cpu) |
| 187 | seqcount_init( & seq) |
| 188 | avg_last_update = Scheduler clock - returns current time in nanosec units.* This is default implementation.* Architectures and sub-architectures can override this. |
| 190 | INIT_DELAYED_WORK( & avgs_work, psi_avgs_work) |
| 191 | mutex_init - initialize the mutex*@mutex: the mutex to be initialized* Initialize the mutex to unlocked state.* It is not allowed to initialize an already locked mutex.( & avgs_lock) |
| 193 | atomic_set( & poll_scheduled, 0) |
| 194 | mutex_init - initialize the mutex*@mutex: the mutex to be initialized* Initialize the mutex to unlocked state.* It is not allowed to initialize an already locked mutex.( & trigger_lock) |
| 196 | memset(nr_triggers, 0, size of nr_triggers ) |
| 197 | poll_states = 0 |
| 198 | poll_min_period = U32_MAX |
| 199 | memset(polling_total, 0, size of polling_total ) |
| 201 | polling_until = 0 |
| Name | Describe |
|---|---|
| psi_init | |
| psi_cgroup_alloc |
| 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 |