函数逻辑报告 |
Source Code:kernel\latencytop.c |
Create Date:2022-07-27 12:55:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:account_global_scheduler_latency
函数原型:static void __sched account_global_scheduler_latency(struct task_struct *tsk, struct latency_record *lat)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | tsk | |
struct latency_record * | lat |
89 | firstnonnull等于MAXLR加1 |
93 | 如果非内存信息则返回 |
97 | same等于1 |
100 | 如果非backtrace[0]则 |
101 | 如果firstnonnull大于i则firstnonnull等于i |
103 | 继续下一循环 |
105 | 以q小于LT_BACKTRACEDEPTH循环 |
117 | 如果same则 |
126 | i等于firstnonnull |
131 | 内存复制( & latency_record[i], lat, latency_record的长度) |
名称 | 描述 |
---|---|
__account_scheduler_latency | __account_scheduler_latency - record an occurred latency*@tsk - the task struct of the task hitting the latency*@usecs - the duration of the latency in microseconds*@inter - 1 if the sleep was interruptible, 0 if uninterruptible* This function is the main |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |