Function report | 
Source Code:kernel\sched\cputime.c | 
Create Date:2022-07-28 09:37:31 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Account for idle time.*@cputime: the CPU time spent in idle wait
Proto:void account_idle_time(u64 cputime)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| u64 | cputime | 
| 220 | u64 * cpustat = ({ | 
| 220 | })->cpustat | 
| 223 | If atomic_read( & nr_iowait) > 0 Then cpustat[CPUTIME_IOWAIT] += cputime | 
| 225 | Else cpustat[CPUTIME_IDLE] += cputime | 
| Name | Describe | 
|---|---|
| account_process_tick | 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 | 
| account_idle_ticks | Account multiple ticks of idle time.*@ticks: number of stolen ticks | 
| 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  |