util
Class CPUFunctions

java.lang.Object
  extended by util.CPUFunctions

public class CPUFunctions
extends Object

JNI library to certain CPU instructions and functions


Constructor Summary
CPUFunctions()
           
 
Method Summary
static int getCpuId()
           
static boolean isLoaded()
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CPUFunctions

public CPUFunctions()
Method Detail

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)