函数逻辑报告 |
Source Code:kernel\sched\debug.c |
Create Date:2022-07-27 10:44:30 |
Last Modify:2020-03-17 13:39:02 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:print_cpu
函数原型:static void print_cpu(struct seq_file *m, int cpu)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct seq_file * | m | |
int | cpu |
627 | This allows printing both to /proc/sched_debug and* to the console(m, "cpu#%d\n", cpu) |
641 | P(r_running and nr_context_switches:* externally visible scheduler statistics: current number of runnable* threads, total number of context switches performed since bootup.) |
642 | P(nr_switches) |
643 | P(nr_load_updates) |
644 | P(nr_uninterruptible) |
645 | PN(next_balance) |
646 | This allows printing both to /proc/sched_debug and* to the console(m, " .%-30s: %ld\n", "curr->pid", (long)(task_pid_nr(当前任务))) |
648 | PN(clock_task) |
660 | 如果schedstat_enabled()则 |
670 | print_cfs_stats(m, cpu) |
671 | print_rt_stats(m, cpu) |
672 | print_dl_stats(m, cpu) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |