Classes | Namespaces | Functions
OpenMP.cpp File Reference
#include "OpenMP.h"
#include "Tools.h"
#include <cstdlib>

Classes

struct  PLMD::OpenMP::OpenMPVars
 singleton struct to treat the openMP setting as a global variables, but with a layer of encapsulation More...
 

Namespaces

 PLMD
 
 PLMD::OpenMP
 

Functions

unsigned PLMD::OpenMP::getCachelineSize ()
 get cacheline size More...
 
unsigned PLMD::OpenMP::getNumThreads ()
 Get number of threads that can be used by openMP. More...
 
unsigned PLMD::OpenMP::getThreadNum ()
 Returns a unique thread identification number within the current team. More...
 
void PLMD::OpenMP::setNumThreads (const unsigned nt)
 Set number of threads that can be used by openMP. More...