File CompactScheduler.cpp

namespace faabric
namespace batch_scheduler

Functions

static std::map<std::string, int> getHostFreqCount(std::shared_ptr<SchedulingDecision> decision)
static std::shared_ptr<SchedulingDecision> minimiseNumOfMigrations(std::shared_ptr<SchedulingDecision> newDecision, std::shared_ptr<SchedulingDecision> oldDecision)
static HostMap deepCopyHostMap(const HostMap &hostMap)
static void filterHosts(HostMap &hostMap, const InFlightReqs &inFlightReqs, std::shared_ptr<faabric::BatchExecuteRequest> req)