#include "ns3/codel-queue-disc.h"
#include "ns3/double.h"
#include "ns3/log.h"
#include "ns3/packet.h"
#include "ns3/simulator.h"
#include "ns3/string.h"
#include "ns3/test.h"
#include "ns3/uinteger.h"
Go to the source code of this file.
Classes | |
class | CoDelQueueDiscBasicDrop |
Test 5: enqueue/dequeue with drops according to CoDel algorithm. More... | |
class | CoDelQueueDiscBasicEnqueueDequeue |
Test 1: simple enqueue/dequeue with no drops. More... | |
class | CoDelQueueDiscBasicMark |
Test 6: enqueue/dequeue with marks according to CoDel algorithm. More... | |
class | CoDelQueueDiscBasicOverflow |
Test 2: enqueue with drops due to queue overflow. More... | |
class | CoDelQueueDiscControlLawTest |
Test 4: ControlLaw unit test - test against explicit port of Linux implementation. More... | |
class | CoDelQueueDiscNewtonStepTest |
Test 3: NewtonStep unit test - test against explicit port of Linux implementation. More... | |
class | CodelQueueDiscTestItem |
Codel Queue Disc Test Item. More... | |
class | CoDelQueueDiscTestSuite |
CoDel Queue Disc Test Suite. More... | |
Macros | |
#define | REC_INV_SQRT_BITS_ns3 (8 * sizeof(uint16_t)) |
#define | REC_INV_SQRT_SHIFT_ns3 (32 - REC_INV_SQRT_BITS_ns3) |
Functions | |
static uint16_t | _codel_Newton_step (uint16_t rec_inv_sqrt, uint32_t count) |
static uint32_t | _reciprocal_scale (uint32_t val, uint32_t ep_ro) |
Variables | |
CoDelQueueDiscTestSuite | g_coDelQueueTestSuite |
the test suite | |
#define REC_INV_SQRT_BITS_ns3 (8 * sizeof(uint16_t)) |
Definition at line 23 of file codel-queue-disc-test-suite.cc.
#define REC_INV_SQRT_SHIFT_ns3 (32 - REC_INV_SQRT_BITS_ns3) |
Definition at line 26 of file codel-queue-disc-test-suite.cc.
Referenced by CoDelQueueDiscControlLawTest::_codel_control_law(), and _codel_Newton_step().
|
static |
Definition at line 29 of file codel-queue-disc-test-suite.cc.
References REC_INV_SQRT_SHIFT_ns3.
Referenced by CoDelQueueDiscNewtonStepTest::DoRun().
Definition at line 41 of file codel-queue-disc-test-suite.cc.
Referenced by CoDelQueueDiscControlLawTest::_codel_control_law().