Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\timer.c Create Date:2022-07-28 10:39:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Called 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.

Proto:void update_process_times(int user_tick)

Type:void

Parameter:

TypeParameterName
intuser_tick
1721  p = current process
1724  Account a single tick of CPU time.*@p: the process that the CPU time gets accounted to*@user_tick: indicates if the tick is a user or a system tick
1725  Called by the local, per-CPU timer interrupt on SMP.
1726  Check to see if the scheduling-clock interrupt came from an extended* quiescent state, and, if so, tell RCU about it. This function must* be called from hardirq context. It is normally called from the* scheduling-clock interrupt.
1731  This function gets called by the timer code, with HZ frequency.* We call it with interrupts disabled.
1732  If IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_POSIX_TIMERS) Then run_posix_cpu_timers()
Caller
NameDescribe
tick_periodicPeriodic tick