函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:iolat_update_total_lat_avg

函数原型:static inline void iolat_update_total_lat_avg(struct iolatency_grp *iolat, struct latency_stat *stat)

返回类型:void

参数:

类型参数名称
struct iolatency_grp *iolat
struct latency_stat *stat
250  如果ssd则返回
260  exp_idx等于min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(int, These are the constants used to fake the fixed-point moving average* calculation just like load average - 1, div64_u64 - unsigned 64bit divide with 64bit divisor*@dividend: 64bit dividend*@divisor: 64bit divisor* This implementation is a modified version of the algorithm proposed* by the book 'Hacker's Delight'. The original source and full proof)
263  total running average of our io latency. 等于a1 = a0 * e + a * (1 - e)
调用者
名称描述
iolatency_check_latencies