#ifndef AIMD_SCHEDULER_HPP
#define AIMD_SCHEDULER_HPP

#include "scheduler_iface.hpp"

// AIMD: K worker threads, but the cap on the number of CHUNK-sized
// chunks that may be in flight simultaneously is governed by an
// additive-increase / multiplicative-decrease rule driven by the
// EWMA load signal from UtilizationMonitor (which samples /proc/stat).
int run_aimd_scheduler(int F, int K, task_fn_t task, void* ctx, bool affinity);

#endif
