#include "ns3/test.h"
#include "ns3/codel-queue-disc.h"
#include "ns3/packet.h"
#include "ns3/uinteger.h"
#include "ns3/string.h"
#include "ns3/double.h"
#include "ns3/log.h"
#include "ns3/simulator.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 | 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 (uint32_t count, uint16_t rec_inv_sqrt) |
static uint32_t | _reciprocal_scale (uint32_t val, uint32_t ep_ro) |
Variables | |
CoDelQueueDiscTestSuite | g_coDelQueueTestSuite |
the test suite More... | |
#define REC_INV_SQRT_BITS_ns3 (8 * sizeof(uint16_t)) |
Definition at line 35 of file codel-queue-disc-test-suite.cc.
#define REC_INV_SQRT_SHIFT_ns3 (32 - REC_INV_SQRT_BITS_ns3) |
Definition at line 38 of file codel-queue-disc-test-suite.cc.
Referenced by CoDelQueueDiscControlLawTest::_codel_control_law(), and _codel_Newton_step().
|
static |
Definition at line 40 of file codel-queue-disc-test-suite.cc.
References REC_INV_SQRT_SHIFT_ns3.
Referenced by CoDelQueueDiscNewtonStepTest::DoRun().
|
static |
Definition at line 51 of file codel-queue-disc-test-suite.cc.
Referenced by CoDelQueueDiscControlLawTest::_codel_control_law().