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 unsigned int nprocs, const unsigned int rows)
 Initializes a RequestTable object.
static void requestTable_destruct (ExpandableTable *restrict table)
 Destructor of RequestTable.
static void requestTable_reset (ExpandableTable *restrict table)
static void requestTable_expand (ExpandableTable *restrict table, const unsigned int rows)
 Add additional rows to RequestTable.
static void newReqInfoAtPush (union SpecInfo *restrict info, unsigned int rows, unsigned int bla)
static void requestTable_push (ExpandableTable *restrict table, const unsigned 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,
unsigned int  rows,
unsigned int  bla
[static]
 

Definition at line 86 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 60 of file bsp_reqtable.h.

References bsp_free(), and 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 unsigned int  rows
[inline, static]
 

Add additional rows to RequestTable.

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

Definition at line 79 of file bsp_reqtable.h.

References expandableTable_expand().

Here is the call graph for this function:

static void requestTable_initialize ExpandableTable *restrict  table,
const unsigned int  nprocs,
const unsigned 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 bsp_calloc, ReqInfo::data_sizes, fixedElSizeTable_initialize(), and SpecInfo::req.

Referenced by bsp_begin().

Here is the call graph for this function:

static void requestTable_push ExpandableTable *restrict  table,
const unsigned 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 96 of file bsp_reqtable.h.

References fixedElSizeTable_push(), newReqInfoAtPush(), and ReqElement::size.

Referenced by bsp_get().

Here is the call graph for this function:

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

Definition at line 67 of file bsp_reqtable.h.

References expandableTable_reset().

Referenced by bsp_sync().

Here is the call graph for this function:


Generated on Sat Apr 8 20:13:47 2006 for BSPonMPI by  doxygen 1.4.6