Static Public Member Functions | |
static int | myPid () |
static int | numProcs () |
template<typename Ctxt > | |
static int | numThreads (const Ctxt &ctxt) |
returns number of threads used by scheduler in given context |
Functionality that might be needed to implement all kinds of tuners. Always try to use higher level tuners which derive from this. Always use virtual inheritance (see higher level tuners).
Definition at line 81 of file default_tuner.h.
static int myPid | ( | ) | [inline, static] |
returns id/rank of calling process defaults to 0 if running on one process only.
Definition at line 86 of file default_tuner.h.
{ return Internal::distributor::myPid(); }
static int numProcs | ( | ) | [inline, static] |
return total number of processes participating in this programm execution defaults to 1 if running on one process only.
Definition at line 92 of file default_tuner.h.
{ return Internal::distributor::numProcs(); }