IBM SYSTEMG G RUNTIME & NATIVE STORE  0.5
IBM Native Graph Computing and Storage System based on IBM Parallel Programming Library
 All Classes Functions Variables Typedefs Pages
Public Member Functions | Private Attributes | List of all members
ibmppl::computation< TID > Class Template Reference

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
 

Detailed Description

template<class TID>
class ibmppl::computation< TID >

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 ?

Member Function Documentation

template<class TID>
void ibmppl::computation< TID >::done ( TID  tid)
inline

When a task is done we notify the task set class

template<class TID>
bool ibmppl::computation< TID >::is_done ( ) const
inline

Method used to test if computation is finished


The documentation for this class was generated from the following file: