Function report |
Source Code:kernel\sched\debug.c |
Create Date:2022-07-28 09:44:04 |
Last Modify:2020-03-17 13:39:02 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:print_cpu
Proto:static void print_cpu(struct seq_file *m, int cpu)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
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(curr))) |
648 | PN(clock_task) |
660 | If schedstat_enabled() Then |
670 | print_cfs_stats(m, cpu) |
671 | print_rt_stats(m, cpu) |
672 | print_dl_stats(m, cpu) |
Name | Describe |
---|---|
sched_debug_show | |
sysrq_sched_debug_show |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |