Function report | 
Source Code:kernel\sched\topology.c | 
Create Date:2022-07-28 09:42:51 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Find the sched_domain_topology_level where all CPU capacities are visible* for all CPUs.
Proto:static struct sched_domain_topology_level *asym_cpu_capacity_level(const struct cpumask *cpu_map)
Type:struct sched_domain_topology_level
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const struct cpumask * | cpu_map | 
| 1925 | asym_level = 0 | 
| 1926 | bool asym = false | 
| 1927 | struct sched_domain_topology_level * tl, * asym_tl = NULL | 
| 1934 | If arch_scale_cpu_capacity(i) != cap Then | 
| 1935 | asym = true | 
| 1936 | Break | 
| 1940 | If Not asym Then Return NULL | 
| 1949 | max_capacity = arch_scale_cpu_capacity(i) | 
| 1950 | tl_id = 0 | 
| 1953 | If tl_id < asym_level Then Go to next_level | 
| 1959 | capacity = arch_scale_cpu_capacity(j) | 
| 1961 | If capacity <= max_capacity Then Continue | 
| 1964 | max_capacity = capacity | 
| 1965 | asym_level = tl_id | 
| 1968 | next_level : | 
| 1969 | tl_id++ | 
| 1973 | Return asym_tl | 
| Name | Describe | 
|---|---|
| build_sched_domains | Build sched domains for a given set of CPUs and attach the sched domains* to the individual CPUs | 
| 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  |