函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:measure_l3_residency

函数原型:static int measure_l3_residency(void *_plr)

返回类型:int

参数:

类型参数名称
void *_plr
1087  plr等于_plr
1088  struct residency_counts counts = {0}
1100  :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  退出
1107  默认
1108  转到: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  如果x86_model恒等于INTEL_FAM6_BROADWELL_X
1127  hits_after减等于hits_before
1129  hits_after减等于两数取小(miss_after, hits_after)
1130  否则
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  返回:0