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 ()
doubleoverhead ()
doubletotalLoad ()
doublepe_speed ()
bool isAvailable ()

Private 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]

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

Definition at line 27 of file ckgraph.h.

double ProcInfo::getTotalLoad (  )  [inline]

Definition at line 28 of file ckgraph.h.

References _totalLoad.

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

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(), ProcLoadGreater::operator()(), TreeMatchLB::work(), and GreedyLB::work().

double& ProcInfo::pe_speed (  )  [inline]

Definition at line 34 of file ckgraph.h.

References _pe_speed.

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 [private]

Definition at line 38 of file ckgraph.h.

Referenced by getProcId().

Definition at line 39 of file ckgraph.h.

Referenced by overhead().

Definition at line 40 of file ckgraph.h.

Referenced by getTotalLoad(), and totalLoad().

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 Fri May 25 08:04:53 2012 for Charm++ by  doxygen 1.5.5