Bug #1062: Fix linking errors by moving definition of userDrivenMode to machine-commo...
[charm.git] / src / ck-ldb / NodeLevelLB.h
blob5ae421e23f610b0d46940330441d03c8403cd17b
1 /**
2 * Author Harshitha Menon (gplkrsh2@illinois.edu)
3 */
5 #ifndef NODE_LEVEL_LB_H
6 #define NODE_LEVEL_LB_H
8 #include "CentralLB.h"
9 #include "HybridBaseLB.h"
10 #include "NodeLevelLB.decl.h"
12 void CreateNodeLevelLB();
14 class NodeLevelLB : public CBase_NodeLevelLB {
15 private:
16 CkVec<CentralLB *> clbs;
17 int num_levels;
19 protected:
20 virtual bool QueryBalanceNow(int) { return true; };
21 virtual void work(LDStats* stats);
23 public:
24 NodeLevelLB(const CkLBOptions &);
25 NodeLevelLB(CkMigrateMessage *m):CBase_NodeLevelLB(m) {}
28 #endif /* NODE_LEVEL_LB_H */