doc: Add serial to list of ci file reserved words
[charm.git] / src / ck-ldb / PhasebyArrayLB.h
1 /**
2  * \addtogroup CkLdb
3 */
4 /*@{*/
5
6 #ifndef _PHASEBYARRAYLB_H_
7 #define _PHASEBYARRAYLB_H_
8
9 #include "CentralLB.h"
10 #include "PhasebyArrayLB.decl.h"
11
12 void CreatePhasebyArrayLB();
13
14 class PhasebyArrayLB : public CentralLB {
15 public:
16   PhasebyArrayLB(const CkLBOptions &);
17   PhasebyArrayLB(CkMigrateMessage *m):CentralLB(m) {}
18 private:
19         //CkVec<CProxy_ArrayBase> arrayProxies;
20   BaseLB::LDStats *tempStats;
21         CentralLB *lb;
22         CkVec<LDOMid> omids;
23         CkVec<CmiBool> migratableOMs;
24         CmiBool QueryBalanceNow(int step);
25         void copyStats(BaseLB::LDStats *stats,BaseLB::LDStats *tempStats);
26         void updateStats(BaseLB::LDStats *stats,BaseLB::LDStats *tempStats);
27         void work(LDStats* stats);
28 };
29
30 #endif /* _PHASEBYARRAYLB_H_ */
31
32 /*@}*/