函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:register_refined_jiffies

函数原型:int register_refined_jiffies(long cycles_per_second)

返回类型:int

参数:

类型参数名称
longcycles_per_second
101  refined_jiffies等于The Jiffies based clocksource is the lowest common* denominator clock source which should function on* all systems
102  name等于"refined-jiffies"
103  rating自加
106  cycles_per_tick等于cycles_per_secondHZ除2的和除HZ
108  shift_hz等于cycles_per_second左移8位
109  shift_hz加等于cycles_per_tick除2
110  do_div() is NOT a C function(shift_hz, cycles_per_tick)
112  nsec_per_tick等于NSEC_PER_SEC左移8位
113  nsec_per_tick加等于shift_hz除2
114  do_div() is NOT a C function(nsec_per_tick, (u32)shift_hz)
116  mult等于nsec_per_tick左移Since jiffies uses a simple TICK_NSEC multiplier* conversion, the
118  Don't call this unless you are a default clocksource* (AKA: jiffies) and absolutely have to.
119  返回:0
调用者
名称描述
setup_arch平台相关启动