#include <ctime>#include <sys/time.h>#include <cstdio>#include <cstdlib>#include <iostream>#include <fstream>#include "ns3/core-module.h"#include "ns3/network-module.h"#include "ns3/abort.h"
 Include dependency graph for perf-io.cc:Go to the source code of this file.
Functions | |
| uint64_t | GetRealtimeInNs (void) | 
| int | main (int argc, char *argv[]) | 
| void | PerfFile (FILE *file, uint32_t n, const char *buffer, uint32_t size) | 
| void | PerfStream (ostream &stream, uint32_t n, const char *buffer, uint32_t size) | 
Variables | |
| static const uint64_t | NS_PER_SEC = (uint64_t)1000000000 | 
| static const uint64_t | US_PER_NS = (uint64_t)1000 | 
| static const uint64_t | US_PER_SEC = (uint64_t)1000000 | 
| uint64_t GetRealtimeInNs | ( | void | ) | 
Definition at line 37 of file perf-io.cc.
References NS_PER_SEC, and US_PER_NS.
Referenced by main().
 Here is the caller graph for this function:| int main | ( | int | argc, | 
| char * | argv[] | ||
| ) | 
Definition at line 69 of file perf-io.cc.
References ns3::CommandLine::AddValue(), GetRealtimeInNs(), ns3::CommandLine::Parse(), PerfFile(), PerfStream(), and visualizer.core::start().
 Here is the call graph for this function:| void PerfFile | ( | FILE * | file, | 
| uint32_t | n, | ||
| const char * | buffer, | ||
| uint32_t | size | ||
| ) | 
Definition at line 47 of file perf-io.cc.
References NS_ABORT_MSG.
Referenced by main().
 Here is the caller graph for this function:| void PerfStream | ( | ostream & | stream, | 
| uint32_t | n, | ||
| const char * | buffer, | ||
| uint32_t | size | ||
| ) | 
Definition at line 59 of file perf-io.cc.
Referenced by main().
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 34 of file perf-io.cc.
Referenced by GetRealtimeInNs().
      
  | 
  static | 
Definition at line 32 of file perf-io.cc.
Referenced by GetRealtimeInNs().
      
  | 
  static | 
Definition at line 33 of file perf-io.cc.