|
static void | init_genrand (unsigned long s) |
|
static double | genrand_real3 () |
|
static long | genrand_int31 (void) |
|
static unsigned long | genrand_int32 (void) |
|
static std::shared_ptr< std::barrier<> > | createBarrier (int count) |
|
static void | timerStart (Result &result) |
|
static void | timerEnd (Result &result) |
|
static size_t | timeLast (size_t past, size_t unitTime) |
|
static size_t | timeLastUs (struct timeval past) |
|
static void | printTest (char const *name, int context) |
|
static int | bind2Core (int id) |
|
static vector< size_t > | avgPartitionSizeFinal (size_t inS, std::vector< size_t > partitionWeight) |
|
static vector< size_t > | weightedPartitionSizeFinal (size_t inS, std::vector< size_t > partitionWeight) |
|
static size_t | to_periodical (size_t val, size_t period) |
|
◆ bind2Core()
static int INTELLI::UtilityFunctions::bind2Core |
( |
int |
id | ) |
|
|
static |
bind to CPU
- bind the thread to core according to id
- Parameters
-
id | the core you plan to bind, -1 means let os decide |
- Returns
- cpuId, the real core that bind to
- Todo:
- unsure about hyper-thread
The documentation for this class was generated from the following file: