函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Account multiple ticks of idle time.*@ticks: number of stolen ticks

函数原型:void account_idle_ticks(unsigned long ticks)

返回类型:void

参数:

类型参数名称
unsigned longticks
510  如果SPDX-License-Identifier: GPL-2.0-only
511  irqtime_account_idle_ticks(ticks)
512  返回
515  cputime等于ticksTICK_NSEC is the time between ticks in nsec assuming SHIFTED_HZ
516  steal等于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.
518  如果steal大于等于cputime则返回
521  cputime减等于steal
522  Account for idle time.*@cputime: the CPU time spent in idle wait