A Discrete-Event Network Simulator
API
perf-io.cc File Reference
#include <chrono>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <fstream>
#include "ns3/core-module.h"
+ 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...