mirror of
https://github.com/herumi/xbyak
synced 2024-11-20 16:06:14 -07:00
sample shows cpu cache info for AMD
This commit is contained in:
parent
edce727092
commit
363bbaa57d
1 changed files with 0 additions and 1 deletions
|
@ -127,7 +127,6 @@ void putCPUinfo(bool onlyCpuidFeature)
|
|||
Core i7-3930K 6 2D
|
||||
*/
|
||||
cpu.putFamily();
|
||||
if (!cpu.has(Cpu::tINTEL)) return;
|
||||
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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue