Multi-ApplicationOnlineProfiling  2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

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...
 

Detailed Description

A Knowledge_System uses a set of Workers in order to process data in parallel.

Function Documentation

void Pbb_workers_init ( struct Pbb_workers wk,
struct MALP_blackboard bb,
uint32_t  wk_count 
)

Initializes workers.

Parameters
wkthe workers to initialize
bbthe associated blackboard
wk_countthe number of wanted parallel workers

Definition at line 169 of file Pbb_Workers.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void Pbb_workers_release ( struct Pbb_workers wk)

releases workers

Parameters
wkthe workers to release

Definition at line 203 of file Pbb_Workers.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void Pbb_workers_submit ( struct Pbb_workers wk,
struct Knowledge_system_job ksj 
)

sumbits a job on workers

Parameters
wkthe workers where to submit jobs
ksjthe job to submit

Definition at line 226 of file Pbb_Workers.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void Pbb_workers_wait ( struct Pbb_workers wk)

Waits until all workers are done.

Parameters
wkthe workers to wait

Definition at line 241 of file Pbb_Workers.c.

Here is the call graph for this function:

Here is the caller graph for this function: