函数逻辑报告 |
Source Code:kernel\sched\cputime.c |
Create Date:2022-07-27 10:38:08 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:更新当前进程的内核态和用户态占用率
函数原型:void account_process_tick(struct task_struct *p, int user_tick)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | p | |
int | user_tick |
478 | 如果vtime_accounting_enabled_this_cpu()则返回 |
482 | irqtime_account_process_tick(p, user_tick, rq, 1) |
483 | 返回 |
494 | 如果user_tick则Account user CPU time to a process.*@p: the process that the CPU time gets accounted to*@cputime: the CPU time spent in user space since the last update |
名称 | 描述 |
---|---|
update_process_times | Called from the timer interrupt handler to charge one tick to the current* process. user_tick is 1 if the tick is user time, 0 for system. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |