LocalLBInfoMsg Class Reference

#include <NamdHybridLB.h>

List of all members.

Public Member Functions

 LocalLBInfoMsg ()
void pup (PUP::er &p)

Public Attributes

int n_moves
int startPE
int endPE
MigrateInfo * moves
double * cpuloads


Detailed Description

Class for message containing CPU loads.

Definition at line 31 of file NamdHybridLB.h.


Constructor & Destructor Documentation

LocalLBInfoMsg::LocalLBInfoMsg (  )  [inline]

Definition at line 40 of file NamdHybridLB.h.

00040 : n_moves(0), startPE(0), endPE(0){}


Member Function Documentation

void LocalLBInfoMsg::pup ( PUP::er &  p  )  [inline]

Definition at line 43 of file NamdHybridLB.h.

References cpuloads, endPE, moves, n_moves, and startPE.

00043                            {
00044                 int i;
00045                 p | n_moves;
00046                 p | startPE;
00047                 p | endPE;
00048                 for (i=0; i<n_moves; ++i) p | moves[i];
00049                 for (i=0; i<endPE-startPE+1; ++i) p | cpuloads[i];
00050         }


Member Data Documentation

double* LocalLBInfoMsg::cpuloads

Definition at line 37 of file NamdHybridLB.h.

Referenced by pup(), and NamdHybridLB::UpdateLocalLBInfo().

int LocalLBInfoMsg::endPE

Definition at line 35 of file NamdHybridLB.h.

Referenced by pup().

MigrateInfo* LocalLBInfoMsg::moves

Definition at line 36 of file NamdHybridLB.h.

Referenced by pup(), and NamdHybridLB::UpdateLocalLBInfo().

int LocalLBInfoMsg::n_moves

Definition at line 33 of file NamdHybridLB.h.

Referenced by pup(), and NamdHybridLB::UpdateLocalLBInfo().

int LocalLBInfoMsg::startPE

Definition at line 34 of file NamdHybridLB.h.

Referenced by pup(), and NamdHybridLB::UpdateLocalLBInfo().


The documentation for this class was generated from the following file:
Generated on Wed Nov 22 01:17:21 2017 for NAMD by  doxygen 1.4.7