• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kdefx

KCPUInfo Class Reference

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. More...

#include <kcpuinfo.h>

List of all members.


Public Types

enum  Extensions {
  IntelMMX = 1 << 0, IntelSSE = 1 << 1, IntelSSE2 = 1 << 2, AMD3DNOW = 1 << 3,
  AltiVec = 1 << 4
}

Static Public Member Functions

static bool haveExtension (unsigned int extension)

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 AltiVec.

Since:
3.2

Definition at line 39 of file kcpuinfo.h.


Member Enumeration Documentation

enum KCPUInfo::Extensions

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

Enumerator:
IntelMMX  Intel's MMX instructions.
IntelSSE  Intel's SSE instructions.
IntelSSE2  Intel's SSE2 instructions.
AMD3DNOW  AMD 3DNOW instructions.
AltiVec  Motorola AltiVec instructions.

Definition at line 46 of file kcpuinfo.h.


Member Function Documentation

static bool KCPUInfo::haveExtension ( unsigned int  extension  )  [inline, static]

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

Definition at line 62 of file kcpuinfo.h.


The documentation for this class was generated from the following files:
  • kcpuinfo.h
  • kcpuinfo.cpp

kdefx

Skip menu "kdefx"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal