Fix hash table usage for XLC
[charm.git] / src / ck-ldb / TeamLB.h
blobd5b12ad6ff08a24be9a3f6544770261de7224498
1 /**
2 * \addtogroup CkLdb
3 */
4 /*@{*/
6 #ifndef _TEAMLB_H_
7 #define _TEAMLB_H_
9 #include "CentralLB.h"
10 #include "TeamLB.decl.h"
11 #include <metis.h>
13 void CreateTeamLB();
14 BaseLB * AllocateTeamLB();
16 class TeamLB : public CBase_TeamLB {
17 public:
18 TeamLB(const CkLBOptions &);
19 TeamLB(CkMigrateMessage *m):CBase_TeamLB(m) { lbname = "TeamLB"; }
21 void work(LDStats* stats);
22 void pup(PUP::er &p) { }
24 private:
25 idx_t teamSize;
26 idx_t numberTeams;
28 bool QueryBalanceNow(int step) { return true; }
31 #endif /* _TEAMLB_H_ */
33 /*@}*/