函数逻辑报告 |
Source Code:kernel\sched\debug.c |
Create Date:2022-07-27 10:44:22 |
Last Modify:2020-03-17 13:39:02 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:print_task
函数原型:static void print_task(struct seq_file *m, struct rq *rq, struct task_struct *p)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct seq_file * | m | |
struct rq * | rq | |
struct task_struct * | p |
436 | 如果当前任务恒等于p则This allows printing both to /proc/sched_debug and* to the console(m, ">R") |
438 | 否则This allows printing both to /proc/sched_debug and* to the console(m, " %c", task_state_to_char(p)) |
441 | This allows printing both to /proc/sched_debug and* to the console(m, "%15s %5d %9Ld.%06ld %9Ld %5d ", 是否使用FPU, task_pid_nr(p), SPLIT_NS(vruntime), (longlong)(切换计数 + 上下文切换计数), prio) |
447 | This allows printing both to /proc/sched_debug and* to the console(m, "%9Ld.%06ld %9Ld.%06ld %9Ld.%06ld", SPLIT_NS(schedstat_val_or_zero(wait_sum)), SPLIT_NS(sum_exec_runtime), SPLIT_NS(schedstat_val_or_zero(sum_sleep_runtime))) |
名称 | 描述 |
---|---|
print_rq |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |