#include "ns3/command-line.h"
#include "ns3/packet-metadata.h"
#include "ns3/packet.h"
#include "ns3/system-wall-clock-ms.h"
#include <algorithm>
#include <iostream>
#include <limits>
#include <sstream>
#include <stdlib.h>
#include <string>
Go to the source code of this file.
Classes | |
class | BenchHeader< N > |
BenchHeader class used for benchmarking packet serialization/deserialization. More... | |
class | BenchTag< N > |
BenchTag class used for benchmarking packet serialization/deserialization. More... | |
Functions | |
static void | benchA (uint32_t n) |
static void | benchB (uint32_t n) |
static void | benchByteTags (uint32_t n) |
static void | benchC (uint32_t n) |
static void | benchD (uint32_t n) |
static void | benchFragment (uint32_t n) |
static void | C1 (Ptr< Packet > p) |
static void | C2 (Ptr< Packet > p) |
static void | runBench (void(*bench)(uint32_t), uint32_t n, uint32_t minIterations, const char *name) |
static uint64_t | runBenchOneIteration (void(*bench)(uint32_t), uint32_t n) |
|
static |
Definition at line 230 of file bench-packets.cc.
References ns3::Create(), and NS_ASSERT_MSG.
|
static |
Definition at line 251 of file bench-packets.cc.
References ns3::Create().
|
static |
Definition at line 325 of file bench-packets.cc.
References ns3::Create().
|
static |
Definition at line 281 of file bench-packets.cc.
References C1(), and ns3::Create().
|
static |
Definition at line 207 of file bench-packets.cc.
References ns3::Create().
|
static |
Definition at line 296 of file bench-packets.cc.
References ns3::Create().
Definition at line 273 of file bench-packets.cc.
References C2().
Referenced by benchC().
Definition at line 265 of file bench-packets.cc.
Referenced by C1().
|
static |
Definition at line 353 of file bench-packets.cc.
References runBenchOneIteration().
Definition at line 343 of file bench-packets.cc.
References ns3::SystemWallClockMs::End(), and ns3::SystemWallClockMs::Start().
Referenced by runBench().