mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 07:50:40 +01:00
[v1.02][x86] Adding support for topology detection of hybrid cores
This commit is contained in:
@@ -14,11 +14,13 @@ struct apic {
|
||||
uint32_t* cache_id_apic;
|
||||
};
|
||||
|
||||
bool get_topology_from_apic(struct cpuInfo* cpu, struct topology* topo);
|
||||
bool get_topology_from_apic(struct cpuInfo* cpu, struct topology* topo, int module);
|
||||
uint32_t is_smt_enabled_amd(struct topology* topo);
|
||||
|
||||
#ifndef __APPLE__
|
||||
bool bind_to_cpu(int cpu_id);
|
||||
#endif
|
||||
|
||||
int get_total_cores_module(int total_cores, int module);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user