PPL Logo

TopologyAgent Class Reference

#include <LBAgent.h>

Inheritance diagram for TopologyAgent:

Inheritance graph
[legend]
Collaboration diagram for TopologyAgent:

Collaboration graph
[legend]

Public Member Functions

 TopologyAgent (CentralLB::LDStats *lbDB, int p)
 ~TopologyAgent ()
Agent::Elemmy_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
LBTopologytopo
int ** commObjs
int ** hopCount

Detailed Description

Definition at line 31 of file LBAgent.h.


Constructor & Destructor Documentation

TopologyAgent::TopologyAgent ( CentralLB::LDStats *  lbDB,
int  p 
)

TopologyAgent::~TopologyAgent (  )  [inline]

Definition at line 41 of file LBAgent.h.


Member Function Documentation

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().

Here is the call graph for this function:

Here is the caller graph for this function:

int TopologyAgent::compare ( const void *  p,
const void *  q 
) [static]

Definition at line 64 of file LBAgent.C.


Field Documentation

CentralLB::LDStats* TopologyAgent::stats

Definition at line 34 of file LBAgent.h.

Definition at line 35 of file LBAgent.h.

Referenced by my_preferred_procs(), TopologyAgent(), and GreedyAgentLB::work().

Definition at line 37 of file LBAgent.h.

Referenced by my_preferred_procs(), and TopologyAgent().

Definition at line 38 of file LBAgent.h.

Referenced by my_preferred_procs(), and TopologyAgent().


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

Generated on Mon Sep 21 08:30:59 2020 for Charm++ by  doxygen 1.5.5