|
PaCO++
0.05
|
#include <Controlled.h>


Public Member Functions | |
| virtual void | clientFree () |
| virtual PieceToSend * | computePiecesToSend (unsigned &size) |
| Controlled () | |
| virtual bool | freeComId (long id) |
| virtual void * | getClientData (void *pid, int server_node, long &size, long &length, bool &end) |
| virtual void * | getDescr () |
| virtual PaCO::PacoTopology_t | getDestTopology () |
| long | getMaxLen () |
| virtual long | getNodeRank () |
| virtual void * | getServerData (long &length) |
| virtual PaCO::PacoTopology_t | getSourceTopology () |
| virtual bool | insertData (void *rcptBuf, unsigned long element_nb) |
| void | readFromFile (char *filename) |
| virtual void | serverFree () |
| virtual bool | setComId (long id) |
| virtual void | setCommunicator (void *group) |
| virtual void | setDataPtr (void *dataPtr) |
| virtual void | setDescr (void *descr) |
| virtual void | setDestTopology (PaCO::PacoTopology_t topo) |
| void | setEltSize (unsigned long size) |
| void | setMaxLocalLen (unsigned long elt_nb) |
| virtual void | setNodeRank (long Rank) |
| virtual void | setSourceTopology (PaCO::PacoTopology_t topo) |
| virtual | ~Controlled () |
Protected Member Functions | |
| void | _setDestTopology (unsigned long total) |
| void | _setLocalLen (unsigned long elt_nb) |
| void | _setSourceTopology (unsigned long total) |
Private Attributes | |
| char * | _clientBuffer |
| ControlledLib::ControlledDescr | _clientDescr |
| CommMatrix * | _cm |
| unsigned | _config |
| PaCO::PacoTopology_t | _dTopo |
| unsigned | _llen |
| unsigned | _maxllen |
| unsigned | _nodeRank |
| CommMatrix * | _remaining_cm |
| char * | _serverBuffer |
| ControlledLib::ControlledDescr * | _serverDescr |
| unsigned long | _serverToReceived |
| PaCO::PacoTopology_t | _sTopo |
| unsigned | _unitsize |
Definition at line 15 of file Controlled.h.
| Controlled::Controlled | ( | ) |
Definition at line 19 of file Controlled.cc.
References _clientBuffer, _clientDescr, _cm, _config, _dTopo, _maxllen, _nodeRank, _remaining_cm, _serverBuffer, _serverDescr, _sTopo, ControlledLib::ControlledDescr::lens, and PaCO::PacoTopology_s::total.
|
virtual |
|
protected |
Definition at line 93 of file Controlled.cc.
References setDestTopology(), and PaCO::PacoTopology_s::total.
Referenced by readFromFile().

|
protected |
|
protected |
Definition at line 60 of file Controlled.cc.
References setSourceTopology(), and PaCO::PacoTopology_s::total.
Referenced by readFromFile().

|
virtual |
Implements DistributionLibrary.
Definition at line 333 of file Controlled.cc.
References _remaining_cm.
|
virtual |
Implements DistributionLibrary.
Definition at line 236 of file Controlled.cc.
References _cm, _config, _nodeRank, _unitsize, CORRECT_CONFIG, PieceToSend::destNode, CommMatrix::get(), CommMatrix::getReceiverSize(), CommMatrix::getSenderSize(), PieceToSend::id, PieceToSend::size, and PieceToSend::sourceNode.

|
inlinevirtualinherited |
Reimplemented in BasicBC, and GaBro.
Definition at line 41 of file DistributionLibrairie.h.
|
virtual |
Implements DistributionLibrary.
Definition at line 288 of file Controlled.cc.
References _clientBuffer, _clientDescr, _cm, _nodeRank, _remaining_cm, _unitsize, CommMatrix::get(), CommMatrix::getSenderSize(), ControlledLib::ControlledDescr::lens, ControlledLib::ControlledDescr::llen, and CommMatrix::sub().

|
virtual |
Implements DistributionLibrary.
Definition at line 344 of file Controlled.cc.
References _clientDescr, ControlledLib::ControlledDescr::lens, and ControlledLib::ControlledDescr::llen.
|
virtual |
| long Controlled::getMaxLen | ( | ) |
Definition at line 169 of file Controlled.cc.
References _maxllen.
|
virtual |
|
virtual |
Implements DistributionLibrary.
Definition at line 377 of file Controlled.cc.
References _llen, and _serverBuffer.
|
virtual |
|
virtual |
Implements DistributionLibrary.
Definition at line 356 of file Controlled.cc.
References _serverBuffer, _serverToReceived, and _unitsize.
| void Controlled::readFromFile | ( | char * | filename | ) |
Definition at line 175 of file Controlled.cc.
References _cm, _maxllen, _setDestTopology(), _setSourceTopology(), CommMatrix::dump(), CommMatrix::set(), and setMaxLocalLen().

|
virtual |
Implements DistributionLibrary.
Definition at line 415 of file Controlled.cc.
References _serverBuffer.
|
inlinevirtualinherited |
Reimplemented in BasicBC, and GaBro.
Definition at line 40 of file DistributionLibrairie.h.
Referenced by PaCO_operation::useCommunicationMemoryId().
|
inlinevirtual |
|
virtual |
Implements DistributionLibrary.
Definition at line 279 of file Controlled.cc.
References _clientBuffer.
|
virtual |
Implements DistributionLibrary.
Definition at line 387 of file Controlled.cc.
References _dTopo, _llen, _serverBuffer, _serverDescr, _serverToReceived, _setLocalLen(), _sTopo, _unitsize, ControlledLib::ControlledDescr::llen, and PaCO::PacoTopology_s::total.

|
virtual |
Implements DistributionLibrary.
Definition at line 101 of file Controlled.cc.
References _cm, _config, _dTopo, _sTopo, DST_TOPOLOGY, and PaCO::PacoTopology_s::total.
Referenced by _setDestTopology().
| void Controlled::setEltSize | ( | unsigned long | size | ) |
| void Controlled::setMaxLocalLen | ( | unsigned long | elt_nb | ) |
Definition at line 159 of file Controlled.cc.
References _config, _maxllen, and LOCAL_SIZE.
Referenced by readFromFile().
|
virtual |
|
virtual |
Implements DistributionLibrary.
Definition at line 68 of file Controlled.cc.
References _cm, _config, _dTopo, _sTopo, SRC_TOPOLOGY, and PaCO::PacoTopology_s::total.
Referenced by _setSourceTopology().
|
private |
Definition at line 31 of file Controlled.h.
Referenced by Controlled(), getClientData(), and setDataPtr().
|
private |
Definition at line 32 of file Controlled.h.
Referenced by Controlled(), getClientData(), and getDescr().
|
private |
Definition at line 34 of file Controlled.h.
Referenced by computePiecesToSend(), Controlled(), getClientData(), readFromFile(), setDestTopology(), setSourceTopology(), and ~Controlled().
|
private |
Definition at line 21 of file Controlled.h.
Referenced by computePiecesToSend(), Controlled(), setDestTopology(), setEltSize(), setMaxLocalLen(), and setSourceTopology().
|
private |
Definition at line 24 of file Controlled.h.
Referenced by Controlled(), getDestTopology(), setDescr(), setDestTopology(), and setSourceTopology().
|
private |
Definition at line 41 of file Controlled.h.
Referenced by _setLocalLen(), getServerData(), and setDescr().
|
private |
Definition at line 37 of file Controlled.h.
Referenced by Controlled(), getMaxLen(), readFromFile(), and setMaxLocalLen().
|
private |
Definition at line 26 of file Controlled.h.
Referenced by computePiecesToSend(), Controlled(), getClientData(), getNodeRank(), and setNodeRank().
|
private |
Definition at line 35 of file Controlled.h.
Referenced by clientFree(), Controlled(), and getClientData().
|
private |
Definition at line 43 of file Controlled.h.
Referenced by Controlled(), getServerData(), insertData(), serverFree(), and setDescr().
|
private |
Definition at line 45 of file Controlled.h.
Referenced by Controlled(), and setDescr().
|
private |
Definition at line 42 of file Controlled.h.
Referenced by insertData(), and setDescr().
|
private |
Definition at line 23 of file Controlled.h.
Referenced by Controlled(), getSourceTopology(), setDescr(), setDestTopology(), and setSourceTopology().
|
private |
Definition at line 27 of file Controlled.h.
Referenced by computePiecesToSend(), getClientData(), insertData(), setDescr(), and setEltSize().