函数逻辑报告 |
Source Code:kernel\sched\debug.c |
Create Date:2022-07-27 10:44:26 |
Last Modify:2020-03-17 13:39:02 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:print_cfs_rq
函数原型:void print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct seq_file * | m | |
int | cpu | |
struct cfs_rq * | cfs_rq |
485 | MIN_vruntime等于负1, max_vruntime等于负1 |
496 | This allows printing both to /proc/sched_debug and* to the console(m, "cfs_rq[%d]:\n", cpu) |
498 | This allows printing both to /proc/sched_debug and* to the console(m, " .%-30s: %Ld.%06ld\n", "exec_clock", SPLIT_NS(exec_clock)) |
501 | raw_spin_lock_irqsave( & 运行队列锁, flags) |
504 | last等于__pick_last_entity(cfs_rq) |
505 | 如果last则max_vruntime等于vruntime |
507 | min_vruntime等于min_vruntime |
508 | rq0_min_vruntime = ( & ( * ({ |
508 | })))->cfs.min_vruntime |
509 | raw_spin_unlock_irqrestore( & 运行队列锁, flags) |
510 | This allows printing both to /proc/sched_debug and* to the console(m, " .%-30s: %Ld.%06ld\n", "MIN_vruntime", SPLIT_NS(MIN_vruntime)) |
512 | This allows printing both to /proc/sched_debug and* to the console(m, " .%-30s: %Ld.%06ld\n", "min_vruntime", SPLIT_NS(min_vruntime)) |
514 | This allows printing both to /proc/sched_debug and* to the console(m, " .%-30s: %Ld.%06ld\n", "max_vruntime", SPLIT_NS(max_vruntime)) |
517 | This allows printing both to /proc/sched_debug and* to the console(m, " .%-30s: %Ld.%06ld\n", "spread", SPLIT_NS(spread)) |
520 | This allows printing both to /proc/sched_debug and* to the console(m, " .%-30s: %Ld.%06ld\n", "spread0", SPLIT_NS(spread0)) |
522 | This allows printing both to /proc/sched_debug and* to the console(m, " .%-30s: %d\n", "nr_spread_over", nr_spread_over) |
524 | This allows printing both to /proc/sched_debug and* to the console(m, " .%-30s: %d\n", "nr_running", nr_running) |
525 | This allows printing both to /proc/sched_debug and* to the console(m, " .%-30s: %ld\n", "load", weight) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |