Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:latency_sum_ok

Proto:static inline bool latency_sum_ok(struct iolatency_grp *iolat, struct latency_stat *stat)

Type:bool

Parameter:

TypeParameterName
struct iolatency_grp *iolat
struct latency_stat *stat
229  If ssd Then
230  thresh = 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
231  thresh = max - return maximum of two values of the same or compatible types*@x: first value*@y: second value(thresh, 1ULL)
232  Return missed < thresh
234  Return mean <= min_lat_nsec
Caller
NameDescribe
iolatency_check_latencies