util
Class CPUFunctions
java.lang.Object
util.CPUFunctions
public class CPUFunctions
- extends Object
JNI library to certain CPU instructions and functions
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CPUFunctions
public CPUFunctions()
isLoaded
public static boolean isLoaded()
- Returns:
- true if the library been successfully loaded
getCpuId
public static int getCpuId()
- Returns:
- the apicid of the currently executing thread or -1 if the JNI library was
not loaded
main
public static void main(String[] args)