函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\cputime.c Create Date:2022-07-27 10:38:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:static __always_inline u64 steal_account_process_time(u64 maxtime)

返回类型:u64

参数:

类型参数名称
u64maxtime
249  返回:0
调用者
名称描述
account_other_timeAccount how much elapsed time was spent in steal, irq, or softirq time.
account_process_tick更新当前进程的内核态和用户态占用率
account_idle_ticksAccount multiple ticks of idle time.*@ticks: number of stolen ticks