Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

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:

TypeParameterName
u64maxtime
249  Return 0
Caller
NameDescribe
account_other_timeAccount how much elapsed time was spent in steal, irq, or softirq time.
account_process_tickAccount 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_ticksAccount multiple ticks of idle time.*@ticks: number of stolen ticks