Multi-ApplicationOnlineProfiling
2.1
|
A Knowledge_System uses a set of Workers in order to process data in parallel. More...
Data Structures | |
struct | Pbb_workers_desc |
structure describing a workers descriptor More... | |
struct | Pbb_workers |
Structure defining a parallel blackboard worker set. More... | |
Functions | |
void | Pbb_workers_init (struct Pbb_workers *wk, struct MALP_blackboard *bb, uint32_t wk_count) |
Initializes workers. More... | |
void | Pbb_workers_release (struct Pbb_workers *wk) |
releases workers More... | |
void | Pbb_workers_submit (struct Pbb_workers *wk, struct Knowledge_system_job *ksj) |
sumbits a job on workers More... | |
void | Pbb_workers_wait (struct Pbb_workers *wk) |
Waits until all workers are done. More... | |
A Knowledge_System uses a set of Workers in order to process data in parallel.
void Pbb_workers_init | ( | struct Pbb_workers * | wk, |
struct MALP_blackboard * | bb, | ||
uint32_t | wk_count | ||
) |
Initializes workers.
wk | the workers to initialize |
bb | the associated blackboard |
wk_count | the number of wanted parallel workers |
Definition at line 169 of file Pbb_Workers.c.
void Pbb_workers_release | ( | struct Pbb_workers * | wk | ) |
releases workers
wk | the workers to release |
Definition at line 203 of file Pbb_Workers.c.
void Pbb_workers_submit | ( | struct Pbb_workers * | wk, |
struct Knowledge_system_job * | ksj | ||
) |
sumbits a job on workers
wk | the workers where to submit jobs |
ksj | the job to submit |
Definition at line 226 of file Pbb_Workers.c.
void Pbb_workers_wait | ( | struct Pbb_workers * | wk | ) |
Waits until all workers are done.
wk | the workers to wait |
Definition at line 241 of file Pbb_Workers.c.