00001 00005 00006 #include "DummyLB.h" 00007 00008 extern int quietModeRequested; 00009 00010 CreateLBFunc_Def(DummyLB, "Dummy load balancer, like a normal one but with empty strategy") 00011 00012 #include "DummyLB.def.h" 00013 00014 DummyLB::DummyLB(const CkLBOptions &opt): CBase_DummyLB(opt) 00015 { 00016 lbname = (char*)"DummyLB"; 00017 if (CkMyPe() == 0 && !quietModeRequested) 00018 CkPrintf("CharmLB> DummyLB created.\n"); 00019 } 00020 00021 bool DummyLB::QueryBalanceNow(int _step) 00022 { 00023 return true; 00024 } 00025 00026 00027