Library to find out type of CPU and features
I want to know what type of CPU (Intel Pentium V, AMD Athlon Barton etc.) is built in and which features it has (SSE, MMX, 开发者_如何学PythonStepping etc.). Is there some ready-made Java-library for this?
If you are using Windows you could use Jawin to access the Win32 API.
Yes, for Windows, the combination Jawin and WMI could be the solution. Here is a good article. Unfortunately in German only, but maybe the example code helps.
The JVM does this internally so you don't need to know. There is no way in Java to take advantage of this information other than what the JVM does for you already.
Why do you want to know?
精彩评论