IBM SYSTEMG G RUNTIME & NATIVE STORE
0.5
IBM Native Graph Computing and Storage System based on IBM Parallel Programming Library
|
Class used to track information about an individual computation; A computation consists of a set of task and here for example we can monitor how many are finished; How many are left; Is the computation done ? More...
#include <computation.h>
Public Member Functions | |
computation (uint32_t nthreads=1, size_t nt=0) | |
void | done (TID tid) |
void | reset (size_t nt) |
void | set_done () |
bool | is_done () const |
Private Attributes | |
size_t | _nt |
std::vector< uint32_t > | _completed |
Class used to track information about an individual computation; A computation consists of a set of task and here for example we can monitor how many are finished; How many are left; Is the computation done ?
|
inline |
When a task is done we notify the task set class
|
inline |
Method used to test if computation is finished