PaCO++  0.05
Controlled Class Reference

#include <Controlled.h>

Inheritance diagram for Controlled:
Inheritance graph
Collaboration diagram for Controlled:
Collaboration graph

Public Member Functions

virtual void clientFree ()
 
virtual PieceToSendcomputePiecesToSend (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
 

Detailed Description

Definition at line 15 of file Controlled.h.

Constructor & Destructor Documentation

◆ Controlled()

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.

20 {
21 #ifdef DEBUG_INTERNAL
22  std::cerr<<"[new] Controlled"<<std::endl;
23 #endif
24 
25  // Common
26  _config = 0;
27 
28  // By default 1->1 :)
29  _sTopo.total=1;
30  _dTopo.total=1;
31  _nodeRank=0;
32 
33  // Client side
34  _clientBuffer=NULL;
36  _maxllen=0;
37  _remaining_cm = NULL;
38  _clientDescr.lens.length(0);
39 
40  // Server side
41  _serverDescr=NULL;
42  _serverBuffer=NULL;
43 
44 #ifdef DEBUG_INTERNAL
45  std::cerr<<"[new] Controlled done"<<std::endl;
46 #endif
47 
48 }
char * _serverBuffer
Definition: Controlled.h:43
CommMatrix * _remaining_cm
Definition: Controlled.h:35
unsigned _nodeRank
Definition: Controlled.h:26
char * _clientBuffer
Definition: Controlled.h:31
PaCO::PacoTopology_t _sTopo
Definition: Controlled.h:23
unsigned _config
Definition: Controlled.h:21
ControlledLib::ControlledDescr * _serverDescr
Definition: Controlled.h:45
unsigned long total
Definition: PaCO++.idl:35
CommMatrix * _cm
Definition: Controlled.h:34
unsigned _maxllen
Definition: Controlled.h:37
PaCO::PacoTopology_t _dTopo
Definition: Controlled.h:24
ControlledLib::ControlledDescr _clientDescr
Definition: Controlled.h:32

◆ ~Controlled()

Controlled::~Controlled ( )
virtual

Definition at line 50 of file Controlled.cc.

References _cm.

51 {
52 #ifdef DEBUG_INTERNAL
53  std::cerr<<"[del] Controlled"<<std::endl;
54 #endif
55  delete _cm;
56 }
CommMatrix * _cm
Definition: Controlled.h:34

Member Function Documentation

◆ _setDestTopology()

void Controlled::_setDestTopology ( unsigned long  total)
protected

Definition at line 93 of file Controlled.cc.

References setDestTopology(), and PaCO::PacoTopology_s::total.

Referenced by readFromFile().

94 {
96  topo.total = total;
97  setDestTopology(topo);
98 }
virtual void setDestTopology(PaCO::PacoTopology_t topo)
Definition: Controlled.cc:101
unsigned long total
Definition: PaCO++.idl:35
Here is the call graph for this function:

◆ _setLocalLen()

void Controlled::_setLocalLen ( unsigned long  elt_nb)
protected

Definition at line 150 of file Controlled.cc.

References _llen.

Referenced by setDescr().

151 {
152 #ifdef DEBUG_INTERNAL
153  std::cerr << "-- setLotalNbElt: " << elt_nb << std::endl;
154 #endif
155  _llen = elt_nb;
156 }
unsigned _llen
Definition: Controlled.h:41

◆ _setSourceTopology()

void Controlled::_setSourceTopology ( unsigned long  total)
protected

Definition at line 60 of file Controlled.cc.

References setSourceTopology(), and PaCO::PacoTopology_s::total.

Referenced by readFromFile().

61 {
63  topo.total = total;
64  setSourceTopology(topo);
65 }
unsigned long total
Definition: PaCO++.idl:35
virtual void setSourceTopology(PaCO::PacoTopology_t topo)
Definition: Controlled.cc:68
Here is the call graph for this function:

◆ clientFree()

void Controlled::clientFree ( )
virtual

Implements DistributionLibrary.

Definition at line 333 of file Controlled.cc.

References _remaining_cm.

334 {
335 
336 #ifdef DEBUG_INTERNAL
337  std::cerr << "-- clientFree\n";
338 #endif
339  delete _remaining_cm;
340  _remaining_cm=NULL;
341 }
CommMatrix * _remaining_cm
Definition: Controlled.h:35

◆ computePiecesToSend()

PieceToSend * Controlled::computePiecesToSend ( unsigned &  size)
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.

237 {
238 
239  PieceToSend * sched;
240 
241 #ifdef DEBUG_INTERNAL
242  std::cerr << "computePiecesToSend-------------------- in\n";
243  std::cerr << " config = "<<_config<<endl;
244  std::cerr << " #sender: "<<_cm->getSenderSize()<<std::endl;
245  std::cerr << " #recv: "<<_cm->getReceiverSize()<<std::endl;
246 #endif
247 
248  if (_config != CORRECT_CONFIG) {
249  std::cerr << "Controlled: incorrect configuration state "<< _config<<"/"<<CORRECT_CONFIG<<endl;
250  abort();
251  }
252 
253  sched = new PieceToSend[_cm->getSenderSize()*_cm->getReceiverSize()];
254 
255  unsigned count=0;
256  for(unsigned j=0;j<_cm->getReceiverSize();j++) {
257  if (_cm->get(_nodeRank,j)>0) {
258 #ifdef DEBUG_INTERNAL
259  std::cerr << " "<<_nodeRank<<" -> "<<j<<" : "<<_cm->get(_nodeRank,j)<<std::endl;
260 #endif
261  sched[count].sourceNode = _nodeRank;
262  sched[count].destNode = j;
263  sched[count].size = _cm->get(_nodeRank,j)*_unitsize;
264  sched[count].id = (void*) -1; /* not used */
265  count++;
266  }
267  }
268 
269  size_out = count;
270 
271 #ifdef DEBUG_INTERNAL
272  std::cerr << "computePiecesToSend-------------------- done\n";
273 #endif
274 
275  return sched;
276 }
unsigned _nodeRank
Definition: Controlled.h:26
unsigned getReceiverSize() const
Definition: CommMatrix.h:19
unsigned _config
Definition: Controlled.h:21
long get(unsigned sid, unsigned rid) const
Definition: CommMatrix.h:22
unsigned getSenderSize() const
Definition: CommMatrix.h:18
CommMatrix * _cm
Definition: Controlled.h:34
#define CORRECT_CONFIG
Definition: Controlled.cc:10
unsigned _unitsize
Definition: Controlled.h:27
Here is the call graph for this function:

◆ freeComId()

virtual bool DistributionLibrary::freeComId ( long  id)
inlinevirtualinherited

Reimplemented in BasicBC, and GaBro.

Definition at line 41 of file DistributionLibrairie.h.

41 { return false;}

◆ getClientData()

void * Controlled::getClientData ( void *  pid,
int  server_node,
long &  size,
long &  length,
bool &  end 
)
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().

289 {
290  if (!_remaining_cm)
292 
293  long rgsz = _remaining_cm->get(_nodeRank, dnode)*_unitsize;
294  unsigned rglen;
295 
296  if (rgsz > remaining_size_octet) {
297  rglen = remaining_size_octet/_unitsize;
298  end=false;
299  } else {
300  rglen = _remaining_cm->get(_nodeRank, dnode);
301  end=true;
302  }
303 
304  if (rglen>0) {
305 
306  returned_length_element=rglen;
307  remaining_size_octet-=(returned_length_element*_unitsize);
308  _remaining_cm->sub(_nodeRank, dnode, rglen);
309 
310  unsigned descr_len = _clientDescr.lens.length();
311  _clientDescr.lens.length(descr_len+1);
312  _clientDescr.lens[descr_len]=rglen;
313 
314  unsigned total=0;
315  for(unsigned i=0;i<_cm->getSenderSize();i++) {
316  total+=_cm->get(i, dnode);
317  }
318  _clientDescr.llen = total;
319 
320  }
321 #ifdef DEBUG_INTERNAL
322  std::cerr << __FUNCTION__ << ": getClientData returns #elt: "<<rglen<<endl;
323 #endif
324 
325  // int dummy;
326  // fscanf(stdin, "%d", &dummy);
327 
328 
329  return _clientBuffer;
330 }
CommMatrix * _remaining_cm
Definition: Controlled.h:35
unsigned _nodeRank
Definition: Controlled.h:26
char * _clientBuffer
Definition: Controlled.h:31
void sub(unsigned sid, unsigned rid, long val)
Definition: CommMatrix.h:24
long get(unsigned sid, unsigned rid) const
Definition: CommMatrix.h:22
unsigned getSenderSize() const
Definition: CommMatrix.h:18
CommMatrix * _cm
Definition: Controlled.h:34
unsigned _unitsize
Definition: Controlled.h:27
ControlledLib::ControlledDescr _clientDescr
Definition: Controlled.h:32
Here is the call graph for this function:

◆ getDescr()

void * Controlled::getDescr ( )
virtual

Implements DistributionLibrary.

Definition at line 344 of file Controlled.cc.

References _clientDescr, ControlledLib::ControlledDescr::lens, and ControlledLib::ControlledDescr::llen.

345 {
346 #ifdef DEBUG_INTERNAL
347  std::cerr << "-- descr:llen: "<<_clientDescr.llen<<std::endl;
348 #endif
349 
350  _clientDescr.lens.length(0);
351 
352  return &_clientDescr;
353 }
ControlledLib::ControlledDescr _clientDescr
Definition: Controlled.h:32

◆ getDestTopology()

PaCO::PacoTopology_t Controlled::getDestTopology ( )
virtual

Implements DistributionLibrary.

Definition at line 117 of file Controlled.cc.

References _dTopo.

118 {
119  std::cerr << "****** Why is the method " << __FUNCTION__ << "called?\n";
120  abort();
121  return _dTopo;
122 }
PaCO::PacoTopology_t _dTopo
Definition: Controlled.h:24

◆ getMaxLen()

long Controlled::getMaxLen ( )

Definition at line 169 of file Controlled.cc.

References _maxllen.

170 {
171  return _maxllen;
172 }
unsigned _maxllen
Definition: Controlled.h:37

◆ getNodeRank()

long Controlled::getNodeRank ( )
virtual

Implements DistributionLibrary.

Definition at line 134 of file Controlled.cc.

References _nodeRank.

135 {
136  return _nodeRank;
137 }
unsigned _nodeRank
Definition: Controlled.h:26

◆ getServerData()

void * Controlled::getServerData ( long &  length)
virtual

Implements DistributionLibrary.

Definition at line 377 of file Controlled.cc.

References _llen, and _serverBuffer.

378 {
379  length= _llen;
380 #ifdef DEBUG_INTERNAL
381  std::cerr << "-- getServerData: ptr : "<<(void*)_serverBuffer<<" #element:"<<length<<std::endl;
382 #endif
383  return (void*) _serverBuffer;
384 }
char * _serverBuffer
Definition: Controlled.h:43
unsigned _llen
Definition: Controlled.h:41

◆ getSourceTopology()

PaCO::PacoTopology_t Controlled::getSourceTopology ( )
virtual

Implements DistributionLibrary.

Definition at line 84 of file Controlled.cc.

References _sTopo.

85 {
86  std::cerr << "****** Why is the method " << __FUNCTION__ << "called?\n";
87  abort();
88  return _sTopo;
89 }
PaCO::PacoTopology_t _sTopo
Definition: Controlled.h:23

◆ insertData()

bool Controlled::insertData ( void *  rcptBuf,
unsigned long  element_nb 
)
virtual

Implements DistributionLibrary.

Definition at line 356 of file Controlled.cc.

References _serverBuffer, _serverToReceived, and _unitsize.

357 {
358  // cp from recpBuf to _serverBuffer
359 #ifdef DEBUG_INTERNAL
360  std::cerr << "-- insertData:"<<element_nb<<std::endl;
361 #endif
362 
363  unsigned long llen = element_nb*_unitsize;
364  _serverToReceived -= llen;
365 
366  memcpy(_serverBuffer+_serverToReceived, rcptBuf, llen);
367 
368 #ifdef DEBUG_INTERNAL
369  std::cerr << "-- insertData: "<<_serverToReceived<<" octects"<<std::endl;
370 #endif
371 
372 
373  return (_serverToReceived==0);
374 }
char * _serverBuffer
Definition: Controlled.h:43
unsigned long _serverToReceived
Definition: Controlled.h:42
unsigned _unitsize
Definition: Controlled.h:27

◆ readFromFile()

void Controlled::readFromFile ( char *  filename)

Definition at line 175 of file Controlled.cc.

References _cm, _maxllen, _setDestTopology(), _setSourceTopology(), CommMatrix::dump(), CommMatrix::set(), and setMaxLocalLen().

176 {
177 #ifdef DEBUG_INTERNAL
178  std::cerr << "readFromFile-------------------- done\n";
179 #endif
180 
181  //open comms file
182  FILE *comms_file = fopen(filename, "r");
183  if (comms_file == NULL) {
184  perror("unable to open comms file");
185  throw -1;
186  }
187 
188  unsigned int senders, receivers;
189  fscanf(comms_file, "%dx%d\n", &senders, &receivers);
190 
191  std::cerr<<" #s: "<<senders<<" #r:"<<receivers<<std::endl;
192 
193  _setSourceTopology(senders);
194  _setDestTopology(receivers);
195 
196  unsigned maxs[senders];
197  for(unsigned int i = 0 ; i < senders ; i++)
198  maxs[i]=0;
199 
200  //read edges in file, and add edges
201  for(unsigned int i = 0 ; i < senders * receivers ; i++) {
202  unsigned int value;
203  fscanf(comms_file, "%d", &value);
204  unsigned int node2 = i % receivers;
205  unsigned int node1 = (i - node2) / receivers;
206  if (value != 0) {
207  _cm->set(node1, node2, value);
208 #ifdef DEBUG_INTERNAL
209  std::cerr << " "<<node1<<" -> "<<node2<<" : "<<value<<endl;
210 #endif
211 
212  maxs[node1]+=value;
213  }
214  }
215 
216  fclose(comms_file);
217 
218  unsigned long max=0;
219  for(unsigned int i = 0 ; i < senders ; i++)
220  if (maxs[i]>max)
221  max=maxs[i];
222 
223  if (_maxllen && (max>_maxllen))
224  {
225  std::cerr << "MaxLocalLen was set to small: "<<_maxllen<<" vs "<<max<<" (0: not set)"<<std::endl;
226  abort();
227  }
228 
229  setMaxLocalLen(max);
230 
231  _cm->dump();
232 
233 }
void _setDestTopology(unsigned long total)
Definition: Controlled.cc:93
void setMaxLocalLen(unsigned long elt_nb)
Definition: Controlled.cc:159
void dump() const
Definition: CommMatrix.cc:43
void set(unsigned sid, unsigned rid, long val)
Definition: CommMatrix.h:21
CommMatrix * _cm
Definition: Controlled.h:34
unsigned _maxllen
Definition: Controlled.h:37
void _setSourceTopology(unsigned long total)
Definition: Controlled.cc:60
Here is the call graph for this function:

◆ serverFree()

void Controlled::serverFree ( )
virtual

Implements DistributionLibrary.

Definition at line 415 of file Controlled.cc.

References _serverBuffer.

416 {
417 #ifdef DEBUG_INTERNAL
418  std::cerr << "-- serverFree: "<<(void*)_serverBuffer<<endl;
419 #endif
420  free(_serverBuffer);
421  _serverBuffer=NULL; // the orb (or the user) need to free the memory!
422 }
char * _serverBuffer
Definition: Controlled.h:43

◆ setComId()

virtual bool DistributionLibrary::setComId ( long  id)
inlinevirtualinherited

Reimplemented in BasicBC, and GaBro.

Definition at line 40 of file DistributionLibrairie.h.

Referenced by PaCO_operation::useCommunicationMemoryId().

40 { return false;}

◆ setCommunicator()

virtual void Controlled::setCommunicator ( void *  group)
inlinevirtual

Implements DistributionLibrary.

Definition at line 61 of file Controlled.h.

61 {}

◆ setDataPtr()

void Controlled::setDataPtr ( void *  dataPtr)
virtual

Implements DistributionLibrary.

Definition at line 279 of file Controlled.cc.

References _clientBuffer.

280 {
281  _clientBuffer = (char *) dataPtr;
282 #ifdef DEBUG_INTERNAL
283  cerr << "-- _clientBuffer set to "<<dataPtr<<endl;
284 #endif
285 }
char * _clientBuffer
Definition: Controlled.h:31

◆ setDescr()

void Controlled::setDescr ( void *  descr)
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.

388 {
389  std::cerr << "-- setDescr "<<endl;
390 
392 
393  // Descr already received
394 
395  if ( _serverBuffer == NULL)
396  {
397  // 1st time -> allocate memory & init
398  //this->setEltSize(_descr->usz); BUG: usz can be different in client and server (32bit vs 64bit)
399  unsigned long len = _serverDescr->llen*_unitsize;
401 
402 #ifdef DEBUG_INTERNAL
403  fprintf(stderr, "-- setDescr: stopo: %ld\tdtopo: %ld\n",_sTopo.total, _dTopo.total);
404  fprintf(stderr, " setDescr: local len: %ld\n", _serverDescr->llen);
405 #endif
406  _serverBuffer = (char*) malloc(len*_unitsize);
407 #ifdef DEBUG_INTERNAL
408  std::cerr << "-- serverMalloc: "<<(void*)_serverBuffer<<" - "<<_llen<<endl;
409 #endif
410  _serverToReceived = len;
411  }
412 }
char * _serverBuffer
Definition: Controlled.h:43
PaCO::PacoTopology_t _sTopo
Definition: Controlled.h:23
unsigned _llen
Definition: Controlled.h:41
void _setLocalLen(unsigned long elt_nb)
Definition: Controlled.cc:150
ControlledLib::ControlledDescr * _serverDescr
Definition: Controlled.h:45
unsigned long total
Definition: PaCO++.idl:35
unsigned long _serverToReceived
Definition: Controlled.h:42
unsigned _unitsize
Definition: Controlled.h:27
PaCO::PacoTopology_t _dTopo
Definition: Controlled.h:24
Here is the call graph for this function:

◆ setDestTopology()

void Controlled::setDestTopology ( PaCO::PacoTopology_t  topo)
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().

102 {
103 #ifdef DEBUG_INTERNAL
104  std::cerr << "-- setDestTopology: " << topo.total << std::endl;
105 #endif
107 
108  if (_dTopo.total != topo.total) {
109  _dTopo = topo;
110  delete _cm;
112  }
113 
114 }
PaCO::PacoTopology_t _sTopo
Definition: Controlled.h:23
unsigned _config
Definition: Controlled.h:21
unsigned long total
Definition: PaCO++.idl:35
CommMatrix * _cm
Definition: Controlled.h:34
PaCO::PacoTopology_t _dTopo
Definition: Controlled.h:24
#define DST_TOPOLOGY
Definition: Controlled.cc:6

◆ setEltSize()

void Controlled::setEltSize ( unsigned long  size)

Definition at line 140 of file Controlled.cc.

References _config, _unitsize, and ELEMENT_SIZE.

141 {
142 #ifdef DEBUG_INTERNAL
143  std::cerr << "-- setEltSize: " << size << std::endl;
144 #endif
146  _unitsize = size;
147 }
unsigned _config
Definition: Controlled.h:21
unsigned _unitsize
Definition: Controlled.h:27
#define ELEMENT_SIZE
Definition: Controlled.cc:7

◆ setMaxLocalLen()

void Controlled::setMaxLocalLen ( unsigned long  elt_nb)

Definition at line 159 of file Controlled.cc.

References _config, _maxllen, and LOCAL_SIZE.

Referenced by readFromFile().

160 {
161 #ifdef DEBUG_INTERNAL
162  std::cerr << "-- setMaxLocalNbElt: " << elt_nb << std::endl;
163 #endif
164  _config |= LOCAL_SIZE;
165  _maxllen = elt_nb;
166 }
unsigned _config
Definition: Controlled.h:21
#define LOCAL_SIZE
Definition: Controlled.cc:8
unsigned _maxllen
Definition: Controlled.h:37

◆ setNodeRank()

void Controlled::setNodeRank ( long  Rank)
virtual

Implements DistributionLibrary.

Definition at line 125 of file Controlled.cc.

References _nodeRank.

126 {
127 #ifdef DEBUG_INTERNAL
128  std::cerr << "-- setNodeRank: " << Rank << std::endl;
129 #endif
130  _nodeRank = Rank;
131 }
unsigned _nodeRank
Definition: Controlled.h:26

◆ setSourceTopology()

void Controlled::setSourceTopology ( PaCO::PacoTopology_t  topo)
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().

69 {
70 #ifdef DEBUG_INTERNAL
71  std::cerr << "-- setSourceTopology: " << topo.total << std::endl;
72 #endif
74 
75  if (_sTopo.total != topo.total) {
76  _sTopo = topo;
77  delete _cm;
79 
80  }
81 }
PaCO::PacoTopology_t _sTopo
Definition: Controlled.h:23
unsigned _config
Definition: Controlled.h:21
#define SRC_TOPOLOGY
Definition: Controlled.cc:5
unsigned long total
Definition: PaCO++.idl:35
CommMatrix * _cm
Definition: Controlled.h:34
PaCO::PacoTopology_t _dTopo
Definition: Controlled.h:24

Member Data Documentation

◆ _clientBuffer

char* Controlled::_clientBuffer
private

Definition at line 31 of file Controlled.h.

Referenced by Controlled(), getClientData(), and setDataPtr().

◆ _clientDescr

ControlledLib::ControlledDescr Controlled::_clientDescr
private

Definition at line 32 of file Controlled.h.

Referenced by Controlled(), getClientData(), and getDescr().

◆ _cm

◆ _config

unsigned Controlled::_config
private

◆ _dTopo

PaCO::PacoTopology_t Controlled::_dTopo
private

◆ _llen

unsigned Controlled::_llen
private

Definition at line 41 of file Controlled.h.

Referenced by _setLocalLen(), getServerData(), and setDescr().

◆ _maxllen

unsigned Controlled::_maxllen
private

Definition at line 37 of file Controlled.h.

Referenced by Controlled(), getMaxLen(), readFromFile(), and setMaxLocalLen().

◆ _nodeRank

unsigned Controlled::_nodeRank
private

Definition at line 26 of file Controlled.h.

Referenced by computePiecesToSend(), Controlled(), getClientData(), getNodeRank(), and setNodeRank().

◆ _remaining_cm

CommMatrix* Controlled::_remaining_cm
private

Definition at line 35 of file Controlled.h.

Referenced by clientFree(), Controlled(), and getClientData().

◆ _serverBuffer

char* Controlled::_serverBuffer
private

Definition at line 43 of file Controlled.h.

Referenced by Controlled(), getServerData(), insertData(), serverFree(), and setDescr().

◆ _serverDescr

ControlledLib::ControlledDescr* Controlled::_serverDescr
private

Definition at line 45 of file Controlled.h.

Referenced by Controlled(), and setDescr().

◆ _serverToReceived

unsigned long Controlled::_serverToReceived
private

Definition at line 42 of file Controlled.h.

Referenced by insertData(), and setDescr().

◆ _sTopo

PaCO::PacoTopology_t Controlled::_sTopo
private

◆ _unitsize

unsigned Controlled::_unitsize
private

Definition at line 27 of file Controlled.h.

Referenced by computePiecesToSend(), getClientData(), insertData(), setDescr(), and setEltSize().


The documentation for this class was generated from the following files: