Function report |
Source Code:arch\x86\kernel\smpboot.c |
Create Date:2022-07-28 08:24:21 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pology_phys_to_logical_die - Map a physical die id to logical* Returns logical die id or -1 if not found
Proto:int topology_phys_to_logical_die(unsigned int die_id, unsigned int cur_cpu)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned int | die_id | |
| unsigned int | cur_cpu |
| 310 | proc_id = phys_proc_id |
| 312 | for_each_possible_cpu(cpu) |
| 315 | If initialized && cpu_die_id == die_id && Physical processor id: == proc_id Then Return logical_die_id |
| 319 | Return -1 |
| Name | Describe |
|---|---|
| topology_update_die_map | pology_update_die_map - Update the physical to logical die map*@die: The die id as retrieved via CPUID*@cpu: The cpu for which this is updated |
| 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 |