change format and add getter for data_cache_size
This commit is contained in:
parent
80b3c7b933
commit
fd587b55ca
6 changed files with 59 additions and 44 deletions
|
@ -104,6 +104,9 @@ void putCPUinfo()
|
|||
Core i7-3930K 6 2D
|
||||
*/
|
||||
cpu.putFamily();
|
||||
for (unsigned int i = 0; i < cpu.getDataCacheLevels(); i++) {
|
||||
printf("cache level=%u data cache size=%u cores sharing data cache=%u\n", i, cpu.getDataCacheSize(i), cpu.getCoresSharingDataCache(i));
|
||||
}
|
||||
}
|
||||
|
||||
int main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue