#include <LBAgent.h>
Public Member Functions | |
MulticastAgent (BaseLB::LDStats *lbDB, int p) | |
virtual | ~MulticastAgent () |
virtual Elem * | my_preferred_procs (int *existing_map, int object, int *trialpes, int metric) |
Protected Attributes | |
CkVec< MInfo > | mcastList |
CkVec< int > * | objmap |
int | nobj |
Data Structures | |
struct | MInfo |
Definition at line 57 of file LBAgent.h.
MulticastAgent::MulticastAgent | ( | BaseLB::LDStats * | lbDB, | |
int | p | |||
) |
Definition at line 269 of file LBAgent.C.
References _lb_args, _LDCommData::bytes, BaseLB::LDStats::commData, _LDCommDesc::get_destObjs(), BaseLB::LDStats::getHash(), BaseLB::LDStats::makeCommHash(), mcastList, _LDCommData::messages, CkLBArgs::migObjOnly(), BaseLB::LDStats::n_comm, BaseLB::LDStats::n_objs, nobj, objmap, MulticastAgent::MInfo::objs, CkVec< T >::push_back(), _LDCommData::receiver, _LDCommData::recv_type(), and _LDCommData::sender.
virtual MulticastAgent::~MulticastAgent | ( | ) | [inline, virtual] |
Agent::Elem * MulticastAgent::my_preferred_procs | ( | int * | existing_map, | |
int | object, | |||
int * | trialpes, | |||
int | metric | |||
) | [virtual] |
Reimplemented from Agent.
Definition at line 301 of file LBAgent.C.
References _lb_args, CkLBArgs::alpha(), alpha, CkLBArgs::beta(), beta, Agent::_Elem::Cost, count, mcastList, MulticastAgent::MInfo::messages, MulticastAgent::MInfo::nbytes, nobj, Agent::npes, objmap, MulticastAgent::MInfo::objs, Agent::_Elem::pe, and CkVec< T >::size().
CkVec<MInfo> MulticastAgent::mcastList [protected] |
CkVec<int>* MulticastAgent::objmap [protected] |
Definition at line 67 of file LBAgent.h.
Referenced by MulticastAgent(), my_preferred_procs(), and ~MulticastAgent().
int MulticastAgent::nobj [protected] |