Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\resctrl\monitor.c Create Date:2022-07-28 08:12:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mbm_overflow_count

Proto:static u64 mbm_overflow_count(u64 prev_msr, u64 cur_msr)

Type:u64

Parameter:

TypeParameterName
u64prev_msr
u64cur_msr
219  shift = 64 - MBM_CNTR_WIDTH
221  chunks = (cur_msr << shift) - (prev_msr << shift)
222  Return chunks >>= shift
Caller
NameDescribe
__mon_event_count
mbm_bw_countSupporting function to calculate the memory bandwidth* and delta bandwidth in MBps.