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:__populate_cache_leaves
Proto:static int __populate_cache_leaves(unsigned int cpu)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | cpu |
1020 | this_cpu_ci = get_cpu_cacheinfo(cpu) |
1022 | struct _cpuid4_info_regs id4_regs = {} |
1024 | When idx < num_leaves cycle |
1025 | ret = cpuid4_cache_lookup_regs(idx, & id4_regs) |
1029 | ci_leaf_init(this_leaf++, & id4_regs) |
1030 | __cache_cpumap_setup(cpu, idx, & id4_regs) |
1032 | cpu_map_populated = true |
1034 | Return 0 |
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 |