1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2025-07-02 14:04:15 +00:00

Intel detection is complete, needs debug and research of newest processors

git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@8 3b4be424-7ac5-41d7-8526-f4ddcb85d872
This commit is contained in:
Veselin Georgiev 2008-11-14 15:06:01 +00:00
parent 18620f1981
commit 381a9b07d8
8 changed files with 700 additions and 33 deletions

View file

@ -30,9 +30,12 @@ int main(void)
printf(" L1 I cache : %d KB\n", data.l1_instruction_cache);
printf(" L2 cache : %d KB\n", data.l2_cache);
printf(" L3 cache : %d KB\n", data.l3_cache);
printf(" L1 assoc. : %d-way\n", data.l1_assoc);
printf(" L1D assoc. : %d-way\n", data.l1_assoc);
printf(" L2 assoc. : %d-way\n", data.l2_assoc);
printf(" L3 assoc. : %d-way\n", data.l3_assoc);
printf(" L1D line sz: %d-way\n", data.l1_cacheline);
printf(" L2 line sz : %d-way\n", data.l2_cacheline);
printf(" L3 line sz : %d-way\n", data.l3_cacheline);
printf(" code name : `%s'\n", data.cpu_codename);
printf(" features :");
int i;