1#include "channel_load.hpp"
8ChannelLoad::ChannelLoad(
const UnitInterval& interval) :
13ChannelLoad::ChannelLoad(
unsigned probes_busy,
unsigned probes_total) :
14 UnitInterval(create_from_probes(probes_busy, probes_total))
20 double fraction = 0.0;
21 if (probes_total != 0) {
22 fraction = probes_busy;
23 fraction /= probes_total;
static UnitInterval create_from_probes(unsigned probes_busy, unsigned probes_total)