函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:检查有没有定时器到期,有就运行到期定时器的处理

函数原型:void run_local_timers(void)

返回类型:void

参数:

1796  base等于this_cpu_ptr( & timer_bases[BASE_STD])
1798  Called from run_local_timers in hardirq context every jiffy
1800  如果time_before(jiffies, clk)则
1801  如果非IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_NO_HZ_COMMON)则返回
1804  base自加
1805  如果time_before(jiffies, clk)则返回
1808  raise_softirq(TIMER_SOFTIRQ)
调用者
名称描述
update_process_timesCalled from the timer interrupt handler to charge one tick to the current* process. user_tick is 1 if the tick is user time, 0 for system.