A Discrete-Event Network Simulator
API
perf-io.cc File Reference
#include "ns3/core-module.h"
#include <chrono>
#include <cstdio>
#include <cstdlib>
#include <fstream>
#include <iostream>
+ Include dependency graph for perf-io.cc:

Go to the source code of this file.

Functions

void PerfFile (FILE *file, uint32_t n, const char *buffer, uint32_t size)
 Check the performance of writing to file. More...
 
void PerfStream (std::ostream &stream, uint32_t n, const char *buffer, uint32_t size)
 Check the performance of writing to an output stream. More...