The Gaudi Framework
v30r3 (a5ef0a68)
|
Python module to be able to check the processor family (Core/Nehalem) More...
#include <boost/python.hpp>
Go to the source code of this file.
Macros | |
#define | cpuid(func, ax, bx, cx, dx) __asm__ __volatile__( "cpuid" : "=a"( ax ), "=b"( bx ), "=c"( cx ), "=d"( dx ) : "a"( func ) ); |
Functions | |
bool | is_nehalem () |
const char * | CPUFamily () |
BOOST_PYTHON_MODULE (PyCPUFamily) | |
Python module to be able to check the processor family (Core/Nehalem)
Definition in file CPUFamily.cpp.
#define cpuid | ( | func, | |
ax, | |||
bx, | |||
cx, | |||
dx | |||
) | __asm__ __volatile__( "cpuid" : "=a"( ax ), "=b"( bx ), "=c"( cx ), "=d"( dx ) : "a"( func ) ); |
Definition at line 15 of file CPUFamily.cpp.
BOOST_PYTHON_MODULE | ( | PyCPUFamily | ) |
Definition at line 35 of file CPUFamily.cpp.
const char* CPUFamily | ( | ) |
Definition at line 26 of file CPUFamily.cpp.
bool is_nehalem | ( | ) |
Definition at line 18 of file CPUFamily.cpp.