#include <folly/executors/Codel.h>
#include <algorithm>
#include <stdexcept>
#include <folly/portability/GFlags.h>
FOLLY_GFLAGS_DEFINE_int32(…);
FOLLY_GFLAGS_DEFINE_int32(…);
usingnamespacestd::chrono;
namespace folly {
Codel::Codel()
: … { … }
Codel::Codel(const Options& options)
: … { … }
bool Codel::overloaded_explicit_now(
nanoseconds delay, steady_clock::time_point now) { … }
int Codel::getLoad() { … }
void Codel::setOptions(Options const& options) { … }
const Codel::Options Codel::getOptions() const { … }
nanoseconds Codel::getMinDelay() { … }
steady_clock::time_point Codel::getIntervalTime() { … }
milliseconds Codel::getSloughTimeout(milliseconds delay) const { … }
}