#include <CentralLB.h>#include "NamdCentLB.decl.h"#include "Node.h"#include "PatchMap.h"#include "SimParameters.h"#include "RefineOnly.h"#include "Alg7.h"#include "AlgRecBisection.h"#include "InfoStream.h"#include "TorusLB.h"#include "RefineTorusLB.h"Go to the source code of this file.
Classes | |
| class | NamdCentLB |
Functions | |
| void | CreateNamdCentLB () |
If we choose firstLdbStep = 20 and ldbPeriod = 100, we have the following timeline (for these particular numbers):
Tracing : <---- off ----><------------ on -----------><-- off ldbCycleNum : 1 2 3 4 5 6 7 8 9 Iteration Steps : 00===20===40===60===80======160===180======260===280 Ldb Step() No : 1 2 3 4 5 6 7 Ldb Strategy : Alg7 Ref Ref Inst Ref Inst Ref Alg7
Alg7 = AlgSeven Ref = Refine (NamdCentLB.C, Rebalancer.C) Inst = Instrumentation Phase (no real load balancing)
This class also fills in the NAMD load balancing data structures from the Charm LDBStats
Definition in file NamdCentLB.h.
|
|
Definition at line 26 of file NamdCentLB.C. References cpuloads. Referenced by LdbCoordinator::createLoadBalancer(), LdbCoordinator::initialize(), and LdbCoordinator::LdbCoordinator(). 00027 {
00028 // CkPrintf("[%d] creating NamdCentLB %d\n",CkMyPe(),loadbalancer);
00029 loadbalancer = CProxy_NamdCentLB::ckNew();
00030 // CkPrintf("[%d] created NamdCentLB %d\n",CkMyPe(),loadbalancer);
00031 cpuloads = new double[CkNumPes()];
00032 for (int i=0; i<CkNumPes(); i++) cpuloads[i] = 0.0;
00033 }
|
1.3.9.1