c++ - 如何编写一个程序 证明自己的计算机cache是几路组相连
PHPz
PHPz 2017-04-17 14:43:09
0
2
527

在未知CPU缓存容量的情况下,如何用一个C/C++程序证明自己计算机是几路组相连?

PHPz
PHPz

学习是最好的投资!

reply all(2)
Peter_Zhu

You can use wmi to get the cache status (it seems you can also do it through the registry), of course it is only for Windows

阿神

~~I’m afraid you can’t get this number.
CPU is transparent to upper-layer applications. Even RAM, without telling you how to get the size of RAM, you have to I don’t know the specific size, because RAM can be virtualized
It’s easy to say about the hard disk, it’s basically the size when it’s full. .

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!