| 函数逻辑报告 | 
| Source Code: kernel\sched\topology.c | Create Date:2022-07-27 10:43:20 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:Find the sched_domain_topology_level where all CPU capacities are visible* for all CPUs.
函数原型:static struct sched_domain_topology_level *asym_cpu_capacity_level(const struct cpumask *cpu_map)
返回类型:struct sched_domain_topology_level
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| const struct cpumask * | cpu_map | 
| 1925 | asym_level等于0 | 
| 1926 | bool asym = false | 
| 1927 | struct sched_domain_topology_level * tl, * asym_tl = NULL | 
| 1934 | 如果arch_scale_cpu_capacity(i)不等于cap则 | 
| 1940 | 如果非asym则返回:NULL | 
| 1949 | max_capacity等于arch_scale_cpu_capacity(i) | 
| 1950 | tl_id等于0 | 
| 1953 | 如果tl_id小于asym_level则转到:next_level | 
| 1959 | capacity等于arch_scale_cpu_capacity(j) | 
| 1961 | 如果capacity小于等于max_capacity则继续下一循环 | 
| 1964 | max_capacity等于capacity | 
| 1965 | asym_level等于tl_id | 
| 1968 | next_level : | 
| 1969 | tl_id自加 | 
| 1973 | 返回:asym_tl | 
| 名称 | 描述 | 
|---|---|
| build_sched_domains | Build sched domains for a given set of CPUs and attach the sched domains* to the individual CPUs | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |