|
C++ mpi module for stochmagnet_main Package
|
This class describes an Open MP process. More...
#include <OMP_Thread.h>


Public Member Functions | |
| virtual tMemSize | getMemorySize () const |
| return the memory size of the class and the memory size of all its attributes/associations More... | |
Public Member Functions inherited from CORE_Object | |
| template<class T > | |
| std::shared_ptr< T > | getSharedPointer () |
| return the shared pointer for this More... | |
| template<class T > | |
| std::shared_ptr< const T > | getConstSharedPointer () const |
| return a const shared pointer for this More... | |
| virtual tMemSize | getContentsMemorySize () const |
| return nthe memory size of the included associations More... | |
| template<class T > | |
| tBoolean | isInstanceOf () const |
| test if the clas T is an instance of this class More... | |
| tString | getClassName () const |
| return the name of the class More... | |
| tString | getPointerString () const |
| retrun the pointer of the class as a string More... | |
| tString | getIdentityString () const |
| retrun the string identification of the class More... | |
| virtual tString | toString () const |
| return the string representation of the object node More... | |
Static Public Member Functions | |
| static CORE_UniquePointer< OMP_Thread > | New () |
| create an instance of thread More... | |
| static void | SetThreadsNumber (const tIndex &nThreads) |
| set the number of threads More... | |
| static tBoolean | IsOpenMPMultiThreaded () |
| return true if the program is multithreaded by OpenMP More... | |
| static tInteger | GetThreadId () |
| get the thread id More... | |
| static tInteger | GetThreadsNumber () |
| get the threads number More... | |
| static const tInteger & | GetMaxThreadsNumber () |
| get the max threads number More... | |
| static tULLInt | GetTime () |
| get time More... | |
| static tULLInt | GetDuration (const tULLInt &startTime) |
| get duration More... | |
| static tInteger | SetThreadsOptions (const CORE_OptionsList &options) |
| set the threads data from the options More... | |
Static Public Member Functions inherited from CORE_Object | |
| static tBoolean | EnableMemoryStack (const tBoolean &isMemoryChecked) |
| enable the memory stack More... | |
| static void | EnableMemoryStack () |
| enable the memory stack | |
| static void | DisableMemoryStack () |
| disable the memory stack | |
| static tBoolean | IsMemoryStackEnabled () |
| return trur if the memory stack is enabled | |
| static tString | MemoryStackToString () |
| get the memory stack in string More... | |
| static tIndex | GetRegisteredClassesNumber () |
| get the memory stack in string More... | |
Protected Member Functions | |
| OMP_Thread (void) | |
| create an object | |
| virtual | ~OMP_Thread (void) |
| destroy an object. | |
Protected Member Functions inherited from CORE_Object | |
| CORE_Object () | |
| build an instance of the object | |
| virtual | ~CORE_Object () |
| destroy the instance of object std | |
This class describes an Open MP process.
It manages :
the cumulative times spent in methods to profile a code.
|
inlinestatic |
get duration
|
inlinestatic |
get the max threads number
|
inlinevirtual |
return the memory size of the class and the memory size of all its attributes/associations
Reimplemented from CORE_Object.
|
inlinestatic |
get the thread id
|
inlinestatic |
get the threads number
|
inlinestatic |
get time
|
inlinestatic |
return true if the program is multithreaded by OpenMP
|
inlinestatic |
create an instance of thread
|
inlinestatic |
set the number of threads
| [in] | nThreads | the number of threads |
|
inlinestatic |
set the threads data from the options
| [in] | options | default values of the options |