bsp_reqtable.h File Reference

defines prototypes and implementations of methods on RequestTable. More...

#include "bsp_exptable.h"
#include <stdlib.h>
#include <config.h>

Include dependency graph for bsp_reqtable.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void requestTable_execute (const ExpandableTable *restrict, ExpandableTable *restrict)
static void requestTable_initialize (ExpandableTable *restrict table, const int nprocs, const int rows)
 Initializes a RequestTable object.
static void requestTable_destruct (ExpandableTable *restrict table)
 Destructor of RequestTable.
static void requestTable_expand (ExpandableTable *restrict table, const int rows)
 Add additional rows to RequestTable.
static void newReqInfoAtPush (union SpecInfo *restrict info, int rows, int bla)
static void requestTable_push (ExpandableTable *restrict table, const int proc, const ReqElement element)
 Adds a data request element to the table.


Detailed Description

defines prototypes and implementations of methods on RequestTable.

RequestTable is a communication buffer for handling data requests (the request part of a bsp_get() ).

Author:
Wijnand Suijlen

Definition in file bsp_reqtable.h.


Function Documentation

static void newReqInfoAtPush union SpecInfo *restrict  info,
int  rows,
int  bla
[static]
 

Definition at line 75 of file bsp_reqtable.h.

Referenced by requestTable_push().

static void requestTable_destruct ExpandableTable *restrict  table  )  [inline, static]
 

Destructor of RequestTable.

Parameters:
table Reference to a RequestTable

Definition at line 58 of file bsp_reqtable.h.

References expandableTable_destruct().

Referenced by bsp_end().

Here is the call graph for this function:

void requestTable_execute const ExpandableTable restrict,
ExpandableTable restrict
 

static void requestTable_expand ExpandableTable *restrict  table,
const int  rows
[inline, static]
 

Add additional rows to RequestTable.

Parameters:
table Reference to a RequestTable
rows Number of rows to add

Definition at line 68 of file bsp_reqtable.h.

References expandableTable_expand().

Here is the call graph for this function:

static void requestTable_initialize ExpandableTable *restrict  table,
const int  nprocs,
const int  rows
[inline, static]
 

Initializes a RequestTable object.

Parameters:
table Reference to a RequestTable
nprocs Number of processors
rows Number of rows

Definition at line 49 of file bsp_reqtable.h.

References fixedElSizeTable_initialize().

Referenced by bsp_begin().

Here is the call graph for this function:

static void requestTable_push ExpandableTable *restrict  table,
const int  proc,
const ReqElement  element
[inline, static]
 

Adds a data request element to the table.

Parameters:
table Reference to RequestTable
proc Processor rank whereto the request is send
element Description of data request

Definition at line 85 of file bsp_reqtable.h.

References fixedElSizeTable_push(), and newReqInfoAtPush().

Referenced by bsp_get().

Here is the call graph for this function:


Generated on Sat Apr 8 12:59:19 2006 for BSPonMPI by  doxygen 1.4.6