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:When a guest is interrupted for a longer amount of time, missed clock* ticks are not redelivered later. Due to that, this function may on* occasion account more time than the calling functions think elapsed.
Proto:static __always_inline u64 steal_account_process_time(u64 maxtime)
Type:u64
Parameter:
| Type | Parameter | Name |
|---|---|---|
| u64 | maxtime |
| 249 | Return 0 |
| Name | Describe |
|---|---|
| account_other_time | Account how much elapsed time was spent in steal, irq, or softirq time. |
| 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 |