
#include <LBAgent.h>


Public Member Functions | |
| TopologyAgent (CentralLB::LDStats *lbDB, int p) | |
| ~TopologyAgent () | |
| Agent::Elem * | my_preferred_procs (int *existing_map, int object, int *trialpes, int metric) |
Static Public Member Functions | |
| static int | compare (const void *p, const void *q) |
Data Fields | |
| CentralLB::LDStats * | stats |
| LBTopology * | topo |
| int ** | commObjs |
| int ** | hopCount |
Definition at line 31 of file LBAgent.h.
| TopologyAgent::TopologyAgent | ( | CentralLB::LDStats * | lbDB, | |
| int | p | |||
| ) |
Definition at line 14 of file LBAgent.C.
References _lbtopo, _LDCommData::bytes, CmiAbort(), CmiPrintf(), commObjs, _LDCommData::from_proc(), _LDCommDesc::get_destObj(), _LDCommDesc::get_type(), hopCount, LBTopoLookup(), Agent::npes, Agent::preferred_list, printoutTopo(), _LDCommData::receiver, _LDCommData::sender, and topo.

| Agent::Elem * TopologyAgent::my_preferred_procs | ( | int * | existing_map, | |
| int | object, | |||
| int * | trialpes, | |||
| int | metric | |||
| ) | [virtual] |
Reimplemented from Agent.
Definition at line 69 of file LBAgent.C.
References commObjs, Agent::_Elem::Cost, CpuTopoDetails::done, flag, LBTopology::get_hop_count(), hopCount, index, LBTopology::max_neighbors(), LBTopology::neighbors(), Agent::npes, Agent::_Elem::pe, Agent::preferred_list, PUP::s, PUP::t, topo, and PUP::u.
Referenced by GreedyAgentLB::work().


| int TopologyAgent::compare | ( | const void * | p, | |
| const void * | q | |||
| ) | [static] |
| CentralLB::LDStats* TopologyAgent::stats |
Definition at line 35 of file LBAgent.h.
Referenced by my_preferred_procs(), TopologyAgent(), and GreedyAgentLB::work().
1.5.5