函数逻辑报告 |
Source Code:kernel\sched\stats.c |
Create Date:2022-07-27 10:44:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:This itererator needs some explanation.* It returns 1 for the header position.* This means 2 is cpu 0.* In a hotplugged system some CPUs, including cpu 0, may be missing so we have* to use cpumask_* to iterate over the CPUs.
函数原型:static void *schedstat_start(struct seq_file *file, loff_t *offset)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct seq_file * | file | |
loff_t * | offset |
87 | 如果n恒等于0则返回:1 |
90 | n自减 |
92 | 如果n大于0则n等于Valid inputs for n are -1 and 0. |
99 | 如果n小于nr_cpu_ids则返回:n加2 |
102 | 返回:NULL |
名称 | 描述 |
---|---|
schedstat_next |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |