Revision 8dfaf509de85637f689a696e8d608d1d173068ab authored by Harshitha on 02 March 2015, 21:01:30 UTC, committed by Harshitha on 02 March 2015, 21:01:30 UTC
1 parent 731b61c
Raw File
IntraNodeLBManager.h
#ifndef INTRA_NODE_LB_MANAGER_H
#define INTRA_NODE_LB_MANAGER_H

#include <vector>

using std::vector;

class IntraNodeLBManager : public CBase_IntraNodeLBManager {

 public:
  IntraNodeLBManager(int dummy, CkGroupID gid);

  IntraNodeLBManager(CkMigrateMessage *m);

  void pup(PUP::er &p);
 
  void registerTP();
  void finishedTPWork();

  vector<int> getOtherIdlePes();

 private:
  int total_tps_;
  int tps_done_;
  int num_loc_mgr_;
  CkGroupID *loc_mgr_;
};
#endif
back to top