#include <unistd.h>#include <fcntl.h>#include "InfoStream.h"#include "NamdCentLB.h"#include "NamdCentLB.def.h"#include "Node.h"#include "PatchMap.h"#include "ComputeMap.h"#include "LdbCoordinator.h"Go to the source code of this file.
Functions | |
| void | CreateNamdCentLB () |
| int | isPmeProcessor (int) |
Variables | |
| double * | cpuloads = NULL |
|
|
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 }
|
|
|
Definition at line 322 of file ComputePme.C. References pencilPMEProcessors. 00322 {
00323 if (pencilPMEProcessors)
00324 return pencilPMEProcessors[p];
00325 else
00326 return CProxy_ComputePmeMgr::ckLocalBranch(CkpvAccess(BOCclass_group).computePmeMgr)->isPmeProcessor(p);
00327 }
|
|
|
Definition at line 24 of file NamdCentLB.C. Referenced by compLoad(), CreateNamdCentLB(), and processCpuLoad(). |
1.3.9.1