.PP
.TH "KCPUInfo" kde3 "11 Jun 2005" "Version Version 3.4.1" "kdefx Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
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.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kcpuinfo.h>\fP
.PP
.SS "Public Types"

.in +1c
.ti -1c
.RI "enum \fBExtensions\fP { \fBIntelMMX\fP =  1 << 0, \fBIntelSSE\fP =  1 << 1, \fBIntelSSE2\fP =  1 << 2, \fBAMD3DNOW\fP =  1 << 3, \fBAltiVec\fP =  1 << 4 }"
.br
.in -1c
.SS "Static Public Member Functions"

.in +1c
.ti -1c
.RI "static bool \fBhaveExtension\fP (unsigned int extension)"
.br
.in -1c
.SH "Detailed Description"
.PP 
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. 

\fBSince:\fP
.RS 4
3.2 
.RE
.PP

.PP
Definition at line 39 of file kcpuinfo.h.
.SH "Member Enumeration Documentation"
.PP 
.SS "enum \fBKCPUInfo::Extensions\fP"
.PP
This enum contains the list of architecture extensions you can query. 
.PP
\fBEnumeration values: \fP
.in +1c
.TP
\fB\fIIntelMMX \fP\fP
Intel's MMX instructions. 
.TP
\fB\fIIntelSSE \fP\fP
Intel's SSE instructions. 
.TP
\fB\fIIntelSSE2 \fP\fP
Intel's SSE2 instructions. 
.TP
\fB\fIAMD3DNOW \fP\fP
AMD 3DNOW instructions. 
.TP
\fB\fIAltiVec \fP\fP
Motorola AltiVec instructions. 
.PP
Definition at line 46 of file kcpuinfo.h.
.SH "Member Function Documentation"
.PP 
.SS "static bool KCPUInfo::haveExtension (unsigned int extension)\fC [inline, static]\fP"
.PP
Returns true if the processor supports \fCextension\fP, and false otherwise. 
.PP
\fBParameters:\fP
.RS 4
\fIextension\fP the feature to query. 
.RE
.PP
\fBReturns:\fP
.RS 4
If true, the processor supports \fCextension\fP. 
.RE
.PP
\fBSee also:\fP
.RS 4
\fBExtensions\fP 
.RE
.PP

.PP
Definition at line 62 of file kcpuinfo.h.
.PP
Referenced by KImageEffect::intensity().

.SH "Author"
.PP 
Generated automatically by Doxygen for kdefx Library from the source code.
