函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Is the high resolution mode active ?

函数原型:static inline int __hrtimer_hres_active(struct hrtimer_cpu_base *cpu_base)

返回类型:int

参数:

类型参数名称
struct hrtimer_cpu_base *cpu_base
613  返回:如果IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_HIGH_RES_TIMERS)则hres_active否则0
调用者
名称描述
hrtimer_hres_active
hrtimer_force_reprogramReprogram the event source with checking both queues for the* next event* Called with interrupts disabled and base->lock held
hrtimer_reprogramWhen a timer is enqueued and expires earlier than the already enqueued* timers, we have to check, whether it expires earlier than the timer for* which the clock event device was armed.* Called with interrupts disabled and base->cpu_base.lock held
hrtimer_run_queuesCalled from run_local_timers in hardirq context every jiffy