Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\dim.h Create Date:2022-07-28 07:13:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dim_update_sample - set a sample's fields with given values*@event_ctr: number of events to set*@packets: number of packets to set*@bytes: number of bytes to set*@s: DIM sample

Proto:static inline void dim_update_sample(u16 event_ctr, u64 packets, u64 bytes, struct dim_sample *s)

Type:void

Parameter:

TypeParameterName
u16event_ctr
u64packets
u64bytes
struct dim_sample *s
253  time = ktime_get()
254  pkt_ctr = packets
255  byte_ctr = bytes
256  event_ctr = event_ctr
Caller
NameDescribe
net_dim