函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:net_dim_stats_compare

函数原型:static int net_dim_stats_compare(struct dim_stats *curr, struct dim_stats *prev)

返回类型:int

参数:

类型参数名称
struct dim_stats *curr
struct dim_stats *prev
140  如果非ytes per msec 则返回:如果ytes per msec DIM_STATS_BETTER否则DIM_STATS_SAME
143  如果Is a difference between values justifies taking an action.* We consider 10% difference as significant.(ytes per msec , ytes per msec )则返回:如果ytes per msec 大于ytes per msec DIM_STATS_BETTER否则DIM_STATS_WORSE
147  如果非packets per msec 则返回:如果packets per msec DIM_STATS_BETTER否则DIM_STATS_SAME
151  如果Is a difference between values justifies taking an action.* We consider 10% difference as significant.(packets per msec , packets per msec )则返回:如果packets per msec 大于packets per msec DIM_STATS_BETTER否则DIM_STATS_WORSE
155  如果非vents per msec 则返回:DIM_STATS_SAME
158  如果Is a difference between values justifies taking an action.* We consider 10% difference as significant.(vents per msec , vents per msec )则返回:如果vents per msec 小于vents per msec DIM_STATS_BETTER否则DIM_STATS_WORSE
162  返回:DIM_STATS_SAME
调用者
名称描述
net_dim_decision