Multi-ApplicationOnlineProfiling  2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Pbb_Workers.c File Reference
#include "Pbb_Workers.h"
#include <unistd.h>
#include "Data_Entry.h"
#include "MALP_Blackboard.h"
Include dependency graph for Pbb_Workers.c:

Go to the source code of this file.


#define MAX_BACK_OFF_ID   11


static void Pbb_workers_process (struct MALP_blackboard *bb, struct Knowledge_system_job *job)
void * Pbb_workers_mainloop (void *pdesc)
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...


static const unsigned int Pbb_workers_backoff_times [MAX_BACK_OFF_ID]

Macro Definition Documentation

#define MAX_BACK_OFF_ID   11

Definition at line 25 of file Pbb_Workers.c.

Function Documentation

void* Pbb_workers_mainloop ( void *  pdesc)

Definition at line 63 of file Pbb_Workers.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void Pbb_workers_process ( struct MALP_blackboard bb,
struct Knowledge_system_job job 

Definition at line 30 of file Pbb_Workers.c.

Here is the caller graph for this function:

Variable Documentation

const unsigned int Pbb_workers_backoff_times[MAX_BACK_OFF_ID]
Initial value:

Definition at line 26 of file Pbb_Workers.c.