\section{KCPUInfo Class Reference}
\label{classKCPUInfo}\index{KCPUInfo@{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 Alti\-Vec.  


{\tt \#include $<$kcpuinfo.h$>$}

\subsection*{Public Types}
\begin{CompactItemize}
\item 
enum {\bf Extensions} \{ \par
{\bf Intel\-MMX} =  1 $<$$<$ 0, 
{\bf Intel\-SSE} =  1 $<$$<$ 1, 
{\bf Intel\-SSE2} =  1 $<$$<$ 2, 
{\bf AMD3DNOW} =  1 $<$$<$ 3, 
\par
{\bf Alti\-Vec} =  1 $<$$<$ 4
 \}
\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
static bool {\bf have\-Extension} (unsigned int extension)
\end{CompactItemize}


\subsection{Detailed Description}
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 Alti\-Vec. 

\begin{Desc}
\item[Since:]3.2 \end{Desc}




Definition at line 39 of file kcpuinfo.h.

\subsection{Member Enumeration Documentation}
\index{KCPUInfo@{KCPUInfo}!Extensions@{Extensions}}
\index{Extensions@{Extensions}!KCPUInfo@{KCPUInfo}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}enum {\bf KCPUInfo::Extensions}}\label{classKCPUInfo_w5}


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

\begin{Desc}
\item[Enumeration values: ]\par
\begin{description}
\index{IntelMMX@{IntelMMX}!KCPUInfo@{KCPUInfo}}\index{KCPUInfo@{KCPUInfo}!IntelMMX@{IntelMMX}}\item[{\em 
Intel\-MMX\label{classKCPUInfo_w5w0}
}]Intel's MMX instructions. \index{IntelSSE@{IntelSSE}!KCPUInfo@{KCPUInfo}}\index{KCPUInfo@{KCPUInfo}!IntelSSE@{IntelSSE}}\item[{\em 
Intel\-SSE\label{classKCPUInfo_w5w1}
}]Intel's SSE instructions. \index{IntelSSE2@{IntelSSE2}!KCPUInfo@{KCPUInfo}}\index{KCPUInfo@{KCPUInfo}!IntelSSE2@{IntelSSE2}}\item[{\em 
Intel\-SSE2\label{classKCPUInfo_w5w2}
}]Intel's SSE2 instructions. \index{AMD3DNOW@{AMD3DNOW}!KCPUInfo@{KCPUInfo}}\index{KCPUInfo@{KCPUInfo}!AMD3DNOW@{AMD3DNOW}}\item[{\em 
AMD3DNOW\label{classKCPUInfo_w5w3}
}]AMD 3DNOW instructions. \index{AltiVec@{AltiVec}!KCPUInfo@{KCPUInfo}}\index{KCPUInfo@{KCPUInfo}!AltiVec@{AltiVec}}\item[{\em 
Alti\-Vec\label{classKCPUInfo_w5w4}
}]Motorola Alti\-Vec instructions. \end{description}
\end{Desc}



Definition at line 46 of file kcpuinfo.h.

\subsection{Member Function Documentation}
\index{KCPUInfo@{KCPUInfo}!haveExtension@{haveExtension}}
\index{haveExtension@{haveExtension}!KCPUInfo@{KCPUInfo}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static bool KCPUInfo::have\-Extension (unsigned int {\em extension})\hspace{0.3cm}{\tt  [inline, static]}}\label{classKCPUInfo_e0}


Returns true if the processor supports {\tt extension}, and false otherwise. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em extension}]the feature to query. \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]If true, the processor supports {\tt extension}. \end{Desc}
\begin{Desc}
\item[See also:]{\bf Extensions}{\rm (p.\,\pageref{classKCPUInfo_w5})} \end{Desc}


Definition at line 62 of file kcpuinfo.h.

Referenced by KImage\-Effect::intensity().

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
kcpuinfo.h\item 
kcpuinfo.cpp\end{CompactItemize}
