Function report |
Source Code:arch\x86\kernel\cpu\cacheinfo.c |
Create Date:2022-07-28 07:53:55 |
Last Modify:2020-03-16 20:07:28 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:find_num_cache_leaves
Proto:static int find_num_cache_leaves(struct cpuinfo_x86 *c)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct cpuinfo_x86 * | c |
632 | i = -1 |
634 | If CPU vendor == X86_VENDOR_AMD || CPU vendor == X86_VENDOR_HYGON Then op = 0x8000001d |
637 | Else op = 4 |
640 | Do |
645 | When type != CTYPE_NULL cycle |
646 | Return i |
Name | Describe |
---|---|
cacheinfo_amd_init_llc_id | |
init_amd_cacheinfo | |
init_hygon_cacheinfo | |
init_intel_cacheinfo |
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 |