File Planner.cpp

Defines

FIXED_SIZE_PRELOADED_DECISION_GROUPID
namespace faabric
namespace planner

Functions

Planner &getPlanner()
int availableOpenMpSlots(int appId, const std::string &mainHost, const std::map<std::string, std::shared_ptr<Host>> &hostMap, const faabric::batch_scheduler::InFlightReqs &inFlightReqs)
static void claimHostSlots(std::shared_ptr<Host> host, int slotsToClaim = 1)
static void releaseHostSlots(std::shared_ptr<Host> host, int slotsToRelease = 1)
static int claimHostMpiPort(std::shared_ptr<Host> host)
static void releaseHostMpiPort(std::shared_ptr<Host> host, int mpiPort)
static void printHostState(std::map<std::string, std::shared_ptr<Host>> hostMap, const std::string &logLevel = "debug")
static faabric::batch_scheduler::HostMap convertToBatchSchedHostMap(std::map<std::string, std::shared_ptr<Host>> hostMapIn, const std::set<std::string> &nextEvictedHostIps)