PPL Logo

RefineTopoLB Class Reference

#include <RefineTopoLB.h>

Inheritance diagram for RefineTopoLB:

Inheritance graph
[legend]
Collaboration diagram for RefineTopoLB:

Collaboration graph
[legend]

Public Member Functions

 RefineTopoLB (const CkLBOptions &opt)
 RefineTopoLB (CkMigrateMessage *m)
void work (LDStats *stats)
void pup (PUP::er &p)

Protected Member Functions

double getCpartHopBytes (int cpart, int proc, int count)
double findSwapGain (int cpart1, int cpart2, int n_pes)
bool QueryBalanceNow (int step)
void updateCommUA (int count)

Detailed Description

Definition at line 14 of file RefineTopoLB.h.


Constructor & Destructor Documentation

RefineTopoLB::RefineTopoLB ( const CkLBOptions opt  ) 

RefineTopoLB::RefineTopoLB ( CkMigrateMessage m  )  [inline]

Definition at line 18 of file RefineTopoLB.h.


Member Function Documentation

void RefineTopoLB::work ( LDStats *  stats  ) 

Definition at line 42 of file RefineTopoLB.C.

References _lb_args, _lbtopo, CmiAbort(), CmiPrintf(), CkLBArgs::debug(), findSwapGain(), LBTopoLookup(), printoutTopo(), and updateCommUA().

Here is the call graph for this function:

void RefineTopoLB::pup ( PUP::er p  )  [inline]

Definition at line 21 of file RefineTopoLB.h.

double RefineTopoLB::getCpartHopBytes ( int  cpart,
int  proc,
int  count 
) [protected]

Definition at line 221 of file RefineTopoLB.C.

References comm.

double RefineTopoLB::findSwapGain ( int  cpart1,
int  cpart2,
int  n_pes 
) [protected]

Definition at line 200 of file RefineTopoLB.C.

References comm.

Referenced by work().

Here is the caller graph for this function:

bool RefineTopoLB::QueryBalanceNow ( int  step  )  [protected]

Definition at line 37 of file RefineTopoLB.C.

void RefineTopoLB::updateCommUA ( int  count  )  [protected]

Definition at line 260 of file RefineTopoLB.C.

References comm.

Referenced by work().

Here is the caller graph for this function:


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

Generated on Mon Sep 21 08:29:34 2020 for Charm++ by  doxygen 1.5.5