
00001 00005 00006 #ifndef CENTRALCOMBOLB_H 00007 #define CENTRALCOMBOLB_H 00008 00009 #include "CentralLB.h" 00010 #include "ComboCentLB.decl.h" 00011 00012 void CreateComboCentLB(); 00013 00015 typedef LBMigrateMsg CLBMigrateMsg; 00016 00017 class ComboCentLB : public CentralLB 00018 { 00019 public: 00020 ComboCentLB(const CkLBOptions &); 00021 ComboCentLB(CkMigrateMessage *m):CentralLB(m) {} 00022 00023 protected: 00024 virtual CmiBool QueryBalanceNow(int) { return CmiTrue; }; 00025 virtual void work(LDStats* stats); 00026 00027 private: 00028 // CProxy_CentralLB thisProxy; 00029 CkVec<CentralLB *> clbs; 00030 }; 00031 00032 #endif /* CENTRALCOMBOLB_H */ 00033
1.5.5