
00001 #ifndef _ROTATELB_H_ 00002 #define _ROTATELB_H_ 00003 00004 #include "CentralLB.h" 00005 00006 void CreateRotateLB (); 00007 00008 class RotateLB : public CentralLB 00009 { 00010 public: 00011 RotateLB (const CkLBOptions &opt); 00012 RotateLB (CkMigrateMessage *m) : CentralLB (m) { }; 00013 00014 void work(LDStats *stats); 00015 00016 void pup (PUP::er &p) { CentralLB::pup(p); } 00017 00018 private: 00019 CmiBool QueryBalanceNow (int step); 00020 }; 00021 00022 #endif /* _ROTATELB_H_ */
1.5.5