函数逻辑报告 |
Source Code:kernel\sched\core.c |
Create Date:2022-07-27 10:36:37 |
Last Modify:2022-05-22 13:40:38 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Return accounted runtime for the task.* In case the task is currently running, return the runtime plus current's* pending runtime that have not been accounted yet.
函数原型:unsigned long long task_sched_runtime(struct task_struct *p)
返回类型:unsigned long long
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | p |
3576 | 如果task_current(rq, p)且进程处于任务队列则 |
3578 | 更新rq运行时间 |
3579 | update_curr(rq) |
3581 | ns等于sum_exec_runtime |
3582 | task_rq_unlock(rq, p, & rf) |
3584 | 返回:ns |
名称 | 描述 |
---|---|
thread_group_cputime | Accumulate raw cputime values of dead tasks (sig->[us]time) and live* tasks (sum on group iteration) belonging to @tsk's group. |
cpu_clock_sample | Sample a per-thread clock for the given task. clkid is validated. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |