Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:measure_l3_residency

Proto:static int measure_l3_residency(void *_plr)

Type:int

Parameter:

TypeParameterName
void *_plr
1087  plr = _plr
1088  struct residency_counts counts = {0}
1100  Case x86_model == INTEL_FAM6_BROADWELL_X
1102  Type specific configuration information. = X86_CONFIG(.event = 0x2e, .umask = 0x4f)
1104  Type specific configuration information. = X86_CONFIG(.event = 0x2e, .umask = 0x41)
1106  Break
1107  Default
1108  Go to out
1111  measure_residency_fn( & Create a perf_event_attr for the hit and miss perf events that will* be used during the performance measurement, & perf_hit_attr, plr, & counts)
1117  miss_after -= miss_before
1118  If x86_model == INTEL_FAM6_BROADWELL_X Then
1127  hits_after -= hits_before
1129  hits_after -= min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(miss_after, hits_after)
1130  Else
1131  hits_after -= hits_before
1134  trace_pseudo_lock_l3(hits_after, miss_after)
1135  out :
1136  thread_done = 1
1137  wake_up_interruptible( & lock_thread_wq)
1138  Return 0