函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\cacheinfo.c |
Create Date:2022-07-27 08:54:22 |
| Last Modify:2020-03-16 20:07:28 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:__cache_cpumap_setup
函数原型:static void __cache_cpumap_setup(unsigned int cpu, int index, struct _cpuid4_info_regs *base)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| unsigned int | cpu | |
| int | index | |
| struct _cpuid4_info_regs * | base |
| 937 | this_cpu_ci等于get_cpu_cacheinfo(cpu) |
| 943 | 如果CPU vendor 恒等于X86_VENDOR_AMD或CPU vendor 恒等于X86_VENDOR_HYGON则 |
| 945 | 如果__cache_amd_cpumap_setup(cpu, index, base)则返回 |
| 952 | 设置CPU信息 |
| 953 | 如果num_threads_sharing恒等于1则返回 |
| 名称 | 描述 |
|---|---|
| __populate_cache_leaves |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |