[v1.05] Move bind_to_cpu from x86-specific to global (merging measure-freq #220)

This commit is contained in:
Dr-Noob
2024-07-05 08:32:11 +01:00
parent 4f081ef1a2
commit d4cadbd807
4 changed files with 42 additions and 32 deletions

View File

@@ -17,10 +17,6 @@ struct apic {
bool get_topology_from_apic(struct cpuInfo* cpu, struct topology* topo);
uint32_t is_smt_enabled_amd(struct topology* topo);
#ifndef __APPLE__
bool bind_to_cpu(int cpu_id);
#endif
#ifdef __linux__
int get_total_cores_module(int total_cores, int module);
#endif