Function report |
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 activity | Download SCCT | Chinese |
Name:measure_l3_residency
Proto:static int measure_l3_residency(void *_plr)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
void * | _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 |
1130 | Else |
1131 | hits_after -= hits_before |
1135 | out : |
1136 | thread_done = 1 |
1137 | wake_up_interruptible( & lock_thread_wq) |
1138 | Return 0 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |