Fix hash table usage for XLC
[charm.git] / src / ck-ldb / ComboCentLB.h
blobedb38f18827afe0452d200460869335d2657b460
1 /**
2 * \addtogroup CkLdb
3 */
4 /*@{*/
6 #ifndef CENTRALCOMBOLB_H
7 #define CENTRALCOMBOLB_H
9 #include "CentralLB.h"
10 #include "ComboCentLB.decl.h"
12 void CreateComboCentLB();
14 /// for backward compatibility
15 typedef LBMigrateMsg CLBMigrateMsg;
17 class ComboCentLB : public CBase_ComboCentLB
19 public:
20 ComboCentLB(const CkLBOptions &);
21 ComboCentLB(CkMigrateMessage *m):CBase_ComboCentLB(m) {}
23 protected:
24 virtual bool QueryBalanceNow(int) { return true; };
25 virtual void work(LDStats* stats);
27 private:
28 // CProxy_CentralLB thisProxy;
29 CkVec<CentralLB *> clbs;
32 #endif /* CENTRALCOMBOLB_H */
34 /*@}*/