Classes | Public Member Functions | Static Public Member Functions

ml7::Comp Class Reference

#include <Comp.h>

List of all members.

Classes

struct  CPUInfo

Public Member Functions

const char * vendor_name () const
const char * processor_name () const
bool _MMX_supported () const
bool _SSE_supported () const
bool _SSE2_supported () const
bool _SSE3_supported () const
bool _SSSE3_supported () const
bool _3DNow_supported () const
bool _MMX_enabled (bool enabled)
bool _MMX_enabled () const
bool _SSE_enabled (bool enabled)
bool _SSE_enabled () const
bool _SSE2_enabled (bool enabled)
bool _SSE2_enabled () const
bool _SSE3_enabled (bool enabled)
bool _SSE3_enabled () const
bool _SSSE3_enabled (bool enabled)
bool _SSSE3_enabled () const
bool _3DNow_enabled (bool enabled)
bool _3DNow_enabled () const
bool cpuid ()

Static Public Member Functions

static Compget ()

Detailed Description

Singleton class MATHLABS_API for time consuming functions and those with heavy throughput of data to process, namingly functions for transforming vectors and matrices.


Member Function Documentation

bool ml7::Comp::_3DNow_enabled ( bool  enabled  )  [inline]

Enables/disables 3DNow! extension (if supported).

bool ml7::Comp::_3DNow_enabled (  )  const [inline]
bool ml7::Comp::_3DNow_supported (  )  const [inline]
bool ml7::Comp::_MMX_enabled ( bool  enabled  )  [inline]

Enables/disables MMX extension (if supported).

bool ml7::Comp::_MMX_enabled (  )  const [inline]
bool ml7::Comp::_MMX_supported (  )  const [inline]
bool ml7::Comp::_SSE2_enabled ( bool  enabled  )  [inline]

Enables/disables SSE2 extension (if supported).

bool ml7::Comp::_SSE2_enabled (  )  const [inline]
bool ml7::Comp::_SSE2_supported (  )  const [inline]
bool ml7::Comp::_SSE3_enabled ( bool  enabled  )  [inline]

Enables/disables SSE3 extension (if supported).

bool ml7::Comp::_SSE3_enabled (  )  const [inline]
bool ml7::Comp::_SSE3_supported (  )  const [inline]
bool ml7::Comp::_SSE_enabled (  )  const [inline]
bool ml7::Comp::_SSE_enabled ( bool  enabled  )  [inline]

Enables/disables SSE extension (if supported).

bool ml7::Comp::_SSE_supported (  )  const [inline]
bool ml7::Comp::_SSSE3_enabled ( bool  enabled  )  [inline]

Enables/disables SSSE3 extension (if supported).

bool ml7::Comp::_SSSE3_enabled (  )  const [inline]
bool ml7::Comp::_SSSE3_supported (  )  const [inline]
bool ml7::Comp::cpuid (  ) 

Determines the CPU specific information. That are the vendor name, the model name, the processor name, extensions supported and the frequency of the master clock.

static Comp& ml7::Comp::get (  )  [inline, static]
const char* ml7::Comp::processor_name (  )  const [inline]
const char* ml7::Comp::vendor_name (  )  const [inline]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines