| Function report | 
| Source Code: arch\x86\kernel\cpu\resctrl\pseudo_lock.c | Create Date:2022-07-28 08:14:07 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:measure_l2_residency
Proto:static int measure_l2_residency(void *_plr)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| void * | _plr | 
| 1050 | struct residency_counts counts = {0} | 
| 1061 | Case x86_model == Apollo Lake | 
| 1062 | Case x86_model == Gemini Lake | 
| 1063 | Type specific configuration information. = X86_CONFIG(.event = 0xd1, .umask = 0x10) | 
| 1065 | Type specific configuration information. = X86_CONFIG(.event = 0xd1, .umask = 0x2) | 
| 1067 | Break | 
| 1068 | Default | 
| 1069 | Go to out | 
| 1072 | 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) | 
| 1079 | out : | 
| 1080 | thread_done = 1 | 
| 1081 | wake_up_interruptible( & lock_thread_wq) | 
| 1082 | 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 |