org.kde.koala

Class KCPUInfo

public class KCPUInfo extends Object implements 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.

UNKNOWN: 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 intAltiVec
static intAMD3DNOW
static intIntelMMX
This enum contains the list of architecture extensions you can query.
static intIntelSSE
static intIntelSSE2
Constructor Summary
protected KCPUInfo(Class dummy)
KCPUInfo()
Method Summary
voiddispose()
Delete the wrapped C++ instance ahead of finalize()
protected voidfinalize()
Deletes the wrapped C++ instance
static booleanhaveExtension(int extension)
Returns true if the processor supports extension, and false otherwise.
booleanisDisposed()
Has the wrapped C++ instance been deleted?

Field Detail

AltiVec

public static final int AltiVec

AMD3DNOW

public static final int AMD3DNOW

IntelMMX

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

UNKNOWN: This enum contains the list of architecture extensions you can query.

IntelSSE

public static final int IntelSSE

IntelSSE2

public static final int IntelSSE2

Constructor Detail

KCPUInfo

protected KCPUInfo(Class dummy)

KCPUInfo

public KCPUInfo()

Method Detail

dispose

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

finalize

protected void finalize()
Deletes the wrapped C++ instance

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

UNKNOWN: Returns true if the processor supports extension, and false otherwise.

isDisposed

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