函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Called from scheduler_tick() to periodically update this CPU's* active count.

函数原型:void calc_global_load_tick(struct rq *this_rq)

返回类型:void

参数:

类型参数名称
struct rq *this_rq
390  如果time_before(jiffies, calc_load related fields )则返回
393  delta等于calc_load_fold_active(this_rq, 0)
394  如果deltaatomic_long_add(delta, & Variables and functions for calc_load )
397  calc_load related fields 加等于5 sec intervals
调用者
名称描述
scheduler_tickThis function gets called by the timer code, with HZ frequency.* We call it with interrupts disabled.