Function report |
Source Code:arch\x86\kernel\cpu\cacheinfo.c |
Create Date:2022-07-28 07:54:07 |
Last Modify:2020-03-16 20:07:28 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:The max shared threads number comes from CPUID.4:EAX[25-14] with input* ECX as cache index. Then right shift apicid by the number's order to get* cache id for this cache node.
Proto:static void get_cache_id(int cpu, struct _cpuid4_info_regs *id4_regs)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
int | cpu | |
struct _cpuid4_info_regs * | id4_regs |
1012 | num_threads_sharing = 1 + num_threads_sharing |
Name | Describe |
---|---|
__populate_cache_leaves |
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 |