NAMD
|
#include "InfoStream.h"
#include "main.h"
#include "BOCgroup.h"
#include "ProxyMgr.decl.h"
#include "ProxyMgr.h"
#include "PatchMap.inl"
#include "ProxyPatch.h"
#include "ComputeMap.h"
#include "HomePatch.h"
#include <string.h>
#include "ProcessorPrivate.h"
#include "packmsg.h"
#include "Priorities.h"
#include <alloca.h>
#include <malloc.h>
#include <map>
#include <vector>
#include <algorithm>
#include "SimParameters.h"
#include "Node.h"
#include "Debug.h"
#include "ProxyMgr.def.h"
Go to the source code of this file.
Macros | |
#define | MIN_DEBUG_LEVEL 2 |
#define | ALLOCA(TYPE, NAME, SIZE) TYPE *NAME = (TYPE *) alloca((SIZE)*sizeof(TYPE)) |
#define | MAX_INTERNODE 1 |
#define | HOMEPATCH_TREE_BRFACTOR 2 |
Functions | |
PACK_MSG (ProxySpanningTreeMsg, PACK(patch);PACK(node);PACK_RESIZE(tree);) | |
static void | outputProxyTree (ProxyTree &ptree, int np) |
static int | compLoad (const void *a, const void *b) |
static void | processCpuLoad () |
static int | noInterNode (int p) |
Variables | |
int | proxySendSpanning = 0 |
int | proxyRecvSpanning = 0 |
int | proxySpanDim = 4 |
int | inNodeProxySpanDim = 16 |
double * | cpuloads |
static int * | procidx = NULL |
static double | averageLoad = 0.0 |
Definition at line 42 of file ProxyMgr.C.
Referenced by ProxyMgr::recvNodeAwareSpanningTree().
#define HOMEPATCH_TREE_BRFACTOR 2 |
Definition at line 1920 of file ProxyMgr.C.
Referenced by NodeProxyMgr::createSTForHomePatches().
#define MAX_INTERNODE 1 |
Definition at line 608 of file ProxyMgr.C.
Referenced by ProxyMgr::buildSpanningTree0().
#define MIN_DEBUG_LEVEL 2 |
Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000 by The Board of Trustees of the University of Illinois. All rights reserved.
Definition at line 39 of file ProxyMgr.C.
|
static |
|
static |
Definition at line 728 of file ProxyMgr.C.
References procidx.
Referenced by ProxyMgr::buildSpanningTree0().
|
static |
Definition at line 611 of file ProxyMgr.C.
References ProxyTree::proxylist, and ResizeArray< Elem >::size().
PACK_MSG | ( | ProxySpanningTreeMsg | , |
PACK(patch);PACK(node);PACK_RESIZE(tree); | |||
) |
Definition at line 50 of file ProxyMgr.C.
|
static |
Definition at line 712 of file ProxyMgr.C.
References averageLoad, compLoad(), cpuloads, and procidx.
Referenced by ProxyMgr::buildSpanningTree0().
|
static |
Definition at line 695 of file ProxyMgr.C.
Referenced by processCpuLoad(), NamdHybridLB::splitComputes(), and NamdCentLB::Strategy().
double* cpuloads |
Definition at line 24 of file NamdCentLB.C.
Referenced by compLoad(), CreateNamdCentLB(), processCpuLoad(), and NamdCentLB::Strategy().
int inNodeProxySpanDim = 16 |
Definition at line 48 of file ProxyMgr.C.
|
static |
Definition at line 694 of file ProxyMgr.C.
Referenced by noInterNode(), and processCpuLoad().
int proxyRecvSpanning = 0 |
Definition at line 45 of file ProxyMgr.C.
Referenced by ProxyMgr::buildProxySpanningTree(), ProxyMgr::buildSpanningTree0(), ProxyMgr::getRecvSpanning(), Sync::openSync(), ProxyMgr::recvResults(), RefineOnly::RefineOnly(), RefineTorusLB::RefineTorusLB(), ProxyMgr::setRecvSpanning(), Node::startup(), and ComputeMgr::updateLocalComputes5().
int proxySendSpanning = 0 |
Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000 by The Board of Trustees of the University of Illinois. All rights reserved.
Definition at line 44 of file ProxyMgr.C.
Referenced by ProxyMgr::buildProxySpanningTree(), ProxyMgr::buildSpanningTree0(), ProxyMgr::getSendSpanning(), Sync::openSync(), HomePatch::positionsReady(), HomePatch::positionsReady_SOA(), ProxyMgr::recvImmediateProxyAll(), ProxyMgr::recvImmediateProxyData(), ProxyMgr::recvProxyAll(), ProxyMgr::recvProxyData(), RefineOnly::RefineOnly(), RefineTorusLB::RefineTorusLB(), ProxyMgr::sendProxyAll(), ProxyMgr::sendProxyData(), ProxyMgr::setSendSpanning(), Node::startup(), and ComputeMgr::updateLocalComputes5().
int proxySpanDim = 4 |
Definition at line 47 of file ProxyMgr.C.
Referenced by ProxyMgr::buildProxySpanningTree(), HomePatch::buildSpanningTree(), ProxyMgr::buildSpanningTree0(), Rebalancer::decrSTLoad(), Rebalancer::incrSTLoad(), HomePatch::positionsReady(), HomePatch::positionsReady_SOA(), ProxyPatch::ProxyPatch(), ProxyMgr::recvNodeAwareSpanningTree(), ProxyMgr::recvSpanningTree(), HomePatch::recvSpanningTree(), and ProxyMgr::setProxyTreeBranchFactor().