函数逻辑报告 |
Source Code:kernel\sched\psi.c |
Create Date:2022-07-27 10:46:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:group_init
函数原型:static void group_init(struct psi_group *group)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct psi_group * | group |
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) |
195 | 初始化链表头 |
196 | memset(nr_triggers, 0, nr_triggers的长度) |
197 | poll_states等于0 |
198 | poll_min_period等于U32_MAX |
199 | memset(polling_total, 0, polling_total的长度) |
201 | polling_until等于0 |
名称 | 描述 |
---|---|
psi_init | |
psi_cgroup_alloc |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |