函数逻辑报告 |
Source Code:kernel\sched\stats.c |
Create Date:2022-07-27 10:44:10 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:show_schedstat
函数原型:static int show_schedstat(struct seq_file *seq, void *v)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct seq_file * | seq | |
| void * | v |
| 19 | 如果v恒等于1则 |
| 20 | seq_printf(seq, "version %d\n", Current schedstat API version.* Bump this up when changing the output format or the meaning of an existing* format, so that tools can adapt (or abort)) |
| 21 | seq_printf(seq, "timestamp %lu\n", jiffies) |
| 22 | 否则 |
| 32 | seq_printf(seq, "cpu%d %u 0 %u %u %u %u %llu %llu %lu", cpu, yld_count, sched_count, sched_goidle, ttwu_count, ttwu_local, rq_cpu_time, run_delay, pcount) |
| 40 | seq_printf(seq, "\n") |
| 73 | 返回:0 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |