Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-iolatency.c Create Date:2022-07-28 17:45:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:iolat_update_total_lat_avg

Proto:static inline void iolat_update_total_lat_avg(struct iolatency_grp *iolat, struct latency_stat *stat)

Type:void

Parameter:

TypeParameterName
struct iolatency_grp *iolat
struct latency_stat *stat
250  If ssd Then Return
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)
Caller
NameDescribe
iolatency_check_latencies