mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 07:50:40 +01:00
[0.97] Do not count "L4" cache when computing the max cache level
This commit is contained in:
@@ -232,6 +232,7 @@ bool build_topo_from_apic(uint32_t* apic_pkg, uint32_t* apic_smt, uint32_t** cac
|
||||
if(apic_id[c] > 0) num_caches++;
|
||||
}
|
||||
|
||||
printf("[i=%d]: %p\n", i, (void *) topo->cach->cach_arr[i]);
|
||||
topo->cach->cach_arr[i]->num_caches = num_caches;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user