org.kde.koala
Class KCPUInfo

java.lang.Object
  extended by org.kde.koala.KCPUInfo
All Implemented Interfaces:
org.kde.qt.QtSupport

public class KCPUInfo
extends java.lang.Object
implements org.kde.qt.QtSupport

This class provides a means for applications to obtain information at runtime about processor support for certain architecture extensions, such as MMX, SSE, 3DNow and AltiVec.


Field Summary
static int AltiVec
           
static int AMD3DNOW
           
static int IntelMMX
          This enum contains the list of architecture extensions you can query.
static int IntelSSE
           
static int IntelSSE2
           
 
Constructor Summary
  KCPUInfo()
           
protected KCPUInfo(java.lang.Class dummy)
           
 
Method Summary
 void dispose()
          Delete the wrapped C++ instance ahead of finalize()
protected  void finalize()
          Deletes the wrapped C++ instance
static boolean haveExtension(int extension)
          Returns true if the processor supports extension, and false otherwise.
 boolean isDisposed()
          Has the wrapped C++ instance been deleted?
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IntelMMX

public static final int IntelMMX
This enum contains the list of architecture extensions you can query.

See Also:
Constant Field Values

IntelSSE

public static final int IntelSSE
See Also:
Constant Field Values

IntelSSE2

public static final int IntelSSE2
See Also:
Constant Field Values

AMD3DNOW

public static final int AMD3DNOW
See Also:
Constant Field Values

AltiVec

public static final int AltiVec
See Also:
Constant Field Values
Constructor Detail

KCPUInfo

protected KCPUInfo(java.lang.Class dummy)

KCPUInfo

public KCPUInfo()
Method Detail

haveExtension

public static boolean haveExtension(int extension)
Returns true if the processor supports extension, and false otherwise.

Parameters:
extension - the feature to query.
Returns:
If true, the processor supports extension.
See Also:
Extensions

finalize

protected void finalize()
                 throws java.lang.InternalError
Deletes the wrapped C++ instance

Overrides:
finalize in class java.lang.Object
Throws:
java.lang.InternalError

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()


isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?