Function report |
Source Code:kernel\sched\cputime.c |
Create Date:2022-07-28 09:37:35 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Account a single tick of CPU time.*@p: the process that the CPU time gets accounted to*@user_tick: indicates if the tick is a user or a system tick
Proto:void account_process_tick(struct task_struct *p, int user_tick)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | p | |
int | user_tick |
478 | If vtime_accounting_enabled_this_cpu() Then Return |
481 | If SPDX-License-Identifier: GPL-2.0-only Then |
482 | irqtime_account_process_tick(p, user_tick, rq, 1) |
483 | Return |
494 | If user_tick Then 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 |
Name | Describe |
---|---|
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. |
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 |