|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.kde.koala.KCPUInfo
public class KCPUInfo
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 |
|---|
public static final int IntelMMX
public static final int IntelSSE
public static final int IntelSSE2
public static final int AMD3DNOW
public static final int AltiVec
| Constructor Detail |
|---|
protected KCPUInfo(java.lang.Class dummy)
public KCPUInfo()
| Method Detail |
|---|
public static boolean haveExtension(int extension)
extension,
and false otherwise.
extension - the feature to query.
extension.Extensions
protected void finalize()
throws java.lang.InternalError
finalize in class java.lang.Objectjava.lang.InternalErrorpublic void dispose()
public boolean isDisposed()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||