Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\dim\rdma_dim.c Create Date:2022-07-28 07:19:42
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:rdma_dim_stats_compare

Proto:static int rdma_dim_stats_compare(struct dim_stats *curr, struct dim_stats *prev)

Type:int

Parameter:

TypeParameterName
struct dim_stats *curr
struct dim_stats *prev
30  If Not completions per msec Then Return DIM_STATS_SAME
33  If Is a difference between values justifies taking an action.* We consider 10% difference as significant.(completions per msec , completions per msec ) Then Return If completions per msec > completions per msec Then DIM_STATS_BETTER Else DIM_STATS_WORSE
37  If Is a difference between values justifies taking an action.* We consider 10% difference as significant.(atio of completions to events , atio of completions to events ) Then Return If atio of completions to events > atio of completions to events Then DIM_STATS_BETTER Else DIM_STATS_WORSE
41  Return DIM_STATS_SAME
Caller
NameDescribe
rdma_dim_decision