52 static inline SP::OMP_Thread
New() {
#define OMP_SET_THREADS_NUMBER(A)
Definition: openMP.h:77
virtual void setThreadsNumber(const tUIndex &nThreads, const tBoolean &isProfiling)
set the number of threads
Definition: OMP_Thread.h:63
This class describes a program routine analyser.
Definition: CORE_Thread.h:20
virtual tUInteger getThreadId() const
get the thread id
Definition: OMP_Thread.h:88
static SP::OMP_Thread New()
create an instance of thread
Definition: OMP_Thread.h:52
#define OMP_GET_THREAD_ID()
Definition: openMP.h:76
#define tUInteger
Definition: types.h:91
virtual void setThreadsNumber(const tUIndex &nThreads)
set the number of threads
Definition: OMP_Thread.h:71
virtual tUInteger getMaxThreadsNumber() const
get the max threads number
Definition: OMP_Thread.cpp:28
virtual tBoolean isOpenMPMultiThreaded() const
return true if the program is multithreaded by OpenMP
Definition: OMP_Thread.h:77
#define tBoolean
Definition: types.h:139
This class describes an Open MP process.
Definition: OMP_Thread.h:19
virtual ~OMP_Thread(void)
destroy an object.
Definition: OMP_Thread.cpp:12
OMP_Thread(void)
create an object
Definition: OMP_Thread.cpp:7
virtual tULLInt getTime() const
get time
Definition: OMP_Thread.h:105
#define OMP_GET_TIME()
Definition: openMP.h:79
virtual tUInteger getThreadsNumber() const
get the threads number
Definition: OMP_Thread.cpp:17
#define OMP_IS_ENABLED()
Definition: openMP.h:72
#define tUIndex
Definition: types.h:126
const tBoolean & isProfiling() const
return true if the code is profiling
Definition: CORE_Thread.h:117
virtual void setThreadsNumber(const tUIndex &nThreads, const tBoolean &isProfiling)
set the number of threads
Definition: CORE_Thread.cpp:26
#define tULLInt
Definition: types.h:45
virtual tULLInt getDuration(const tULLInt &startTime) const
get duration
Definition: OMP_Thread.h:111
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141
static tUInteger MAX_THREADS_NUMBER
Definition: OMP_Thread.h:25