PPL Logo

ProcInfo Class Reference
[Charm++ Load Balancing Framework]

#include <ckgraph.h>

Collaboration diagram for ProcInfo:

Collaboration graph
[legend]

Public Member Functions

 ProcInfo ()
 ProcInfo (int i, double ov, double tl, double sp, bool avail)
int getProcId ()
void setProcId (int _id)
double getTotalLoad () const
double & overhead ()
double & totalLoad ()
double & pe_speed ()
bool isAvailable ()

Protected Attributes

int id
double _overhead
double _totalLoad
double _pe_speed
bool available

Friends

class ProcArray

Detailed Description

Definition at line 20 of file ckgraph.h.


Constructor & Destructor Documentation

ProcInfo::ProcInfo (  )  [inline]

Definition at line 24 of file ckgraph.h.

ProcInfo::ProcInfo ( int  i,
double  ov,
double  tl,
double  sp,
bool  avail 
) [inline]

Definition at line 25 of file ckgraph.h.


Member Function Documentation

int ProcInfo::getProcId (  )  [inline]

Definition at line 26 of file ckgraph.h.

References id.

Referenced by handleTransfer(), TreeMatchLB::work(), TempAwareGreedyLB::work(), TempAwareCommLB::work(), GreedyLB::work(), and CommAwareRefineLB::work().

Here is the caller graph for this function:

void ProcInfo::setProcId ( int  _id  )  [inline]

Definition at line 27 of file ckgraph.h.

double ProcInfo::getTotalLoad (  )  const [inline]

Definition at line 28 of file ckgraph.h.

References _totalLoad.

Referenced by TempAwareGreedyLB::ProcLoadGreater::operator()(), RefineSwapLB::ProcLoadGreater::operator()(), GreedyLB::ProcLoadGreater::operator()(), and updateLoadInfo().

Here is the caller graph for this function:

double& ProcInfo::overhead (  )  [inline]

Definition at line 32 of file ckgraph.h.

References _overhead.

double& ProcInfo::totalLoad (  )  [inline]

Definition at line 33 of file ckgraph.h.

References _totalLoad.

Referenced by handleTransfer(), TreeMatchLB::ProcLoadGreater::operator()(), TreeMatchLB::work(), TempAwareGreedyLB::work(), and GreedyLB::work().

Here is the caller graph for this function:

double& ProcInfo::pe_speed (  )  [inline]

Definition at line 34 of file ckgraph.h.

References _pe_speed.

Referenced by GreedyLB::work().

Here is the caller graph for this function:

bool ProcInfo::isAvailable (  )  [inline]

Definition at line 35 of file ckgraph.h.

References available.


Friends And Related Function Documentation

friend class ProcArray [friend]

Definition at line 21 of file ckgraph.h.


Field Documentation

int ProcInfo::id [protected]

Definition at line 38 of file ckgraph.h.

Referenced by getProcId().

double ProcInfo::_overhead [protected]

Definition at line 39 of file ckgraph.h.

Referenced by overhead().

double ProcInfo::_totalLoad [protected]

Definition at line 40 of file ckgraph.h.

Referenced by getTotalLoad(), and totalLoad().

double ProcInfo::_pe_speed [protected]

Definition at line 41 of file ckgraph.h.

Referenced by pe_speed().

Definition at line 42 of file ckgraph.h.

Referenced by isAvailable().


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

Generated on Mon Sep 21 08:28:43 2020 for Charm++ by  doxygen 1.5.5