函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__round_jiffies_relative - function to round jiffies to a full second*@j: the time in (relative) jiffies that should be rounded*@cpu: the processor number on which the timeout will happen* __round_jiffies_relative() rounds a time delta in the future (in

函数原型:unsigned long __round_jiffies_relative(unsigned long j, int cpu)

返回类型:unsigned long

参数:

类型参数名称
unsigned longj
intcpu
361  j0等于jiffies
364  返回:round_jiffies_common(j + j0, cpu, false)减j0
调用者
名称描述
round_jiffies_relatived_jiffies_relative - function to round jiffies to a full second*@j: the time in (relative) jiffies that should be rounded* round_jiffies_relative() rounds a time delta in the future (in jiffies)* up or down to (approximately) full seconds
start_cpu_timerInitiate the reap timer running on the target CPU. We run at around 1 to 2Hz* via the workqueue/eventd.* Add the CPU number into the expiration time to minimize the possibility of* the CPUs getting into lockstep and contending for the global cache chain