函数逻辑报告

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

函数名称:Account how much elapsed time was spent in steal, irq, or softirq time.

函数原型:static inline u64 account_other_time(u64 max)

返回类型:u64

参数:

类型参数名称
u64max
259  lockdep_assert_irqs_disabled()
261  accounted等于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.
263  如果accounted小于maxaccounted加等于irqtime_tick_accounted(max - accounted)
266  返回:accounted