函数逻辑报告 |
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 |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:measure_l3_residency
函数原型:static int measure_l3_residency(void *_plr)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| void * | _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 |
| 1135 | out : |
| 1136 | thread_done等于1 |
| 1137 | wake_up_interruptible( & lock_thread_wq) |
| 1138 | 返回:0 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |