sat-cbr-stats-example.cc File Reference

Cbr example application to use satellite network and to produce the full range of statistics. More...

#include "ns3/applications-module.h"
#include "ns3/core-module.h"
#include "ns3/internet-module.h"
#include "ns3/network-module.h"
#include "ns3/satellite-module.h"
#include "ns3/traffic-module.h"
+ Include dependency graph for sat-cbr-stats-example.cc:

Go to the source code of this file.

Macros

#define CALL_SAT_STATS_AVERAGED_DISTRIBUTION_SET(id)
 
#define CALL_SAT_STATS_BASIC_ELEMENT(id)
 
#define CALL_SAT_STATS_BASIC_SET(id)
 
#define CALL_SAT_STATS_DISTRIBUTION_ELEMENT(id)
 
#define CALL_SAT_STATS_DISTRIBUTION_SET(id)
 

Detailed Description

Cbr example application to use satellite network and to produce the full range of statistics.

Only some of the statistics are enabled by default. Interval, packet size and test scenario can be given in command line as user argument. To see help for user arguments: execute command -> ./waf –run "sat-cbr-stats-example --PrintHelp"

Definition in file sat-cbr-stats-example.cc.

Macro Definition Documentation

◆ CALL_SAT_STATS_AVERAGED_DISTRIBUTION_SET

#define CALL_SAT_STATS_AVERAGED_DISTRIBUTION_SET (   id)
Value:
s->AddAverageBeam##id(SatStatsHelper::OUTPUT_HISTOGRAM_FILE); \
s->AddAverageBeam##id(SatStatsHelper::OUTPUT_PDF_FILE); \
s->AddAverageBeam##id(SatStatsHelper::OUTPUT_CDF_FILE); \
s->AddAverageBeam##id(SatStatsHelper::OUTPUT_HISTOGRAM_PLOT); \
s->AddAverageBeam##id(SatStatsHelper::OUTPUT_PDF_PLOT); \
s->AddAverageBeam##id(SatStatsHelper::OUTPUT_CDF_PLOT); \
\
s->AddAverageUt##id(SatStatsHelper::OUTPUT_HISTOGRAM_FILE); \
s->AddAverageUt##id(SatStatsHelper::OUTPUT_PDF_FILE); \
s->AddAverageUt##id(SatStatsHelper::OUTPUT_CDF_FILE); \
s->AddAverageUt##id(SatStatsHelper::OUTPUT_HISTOGRAM_PLOT); \
s->AddAverageUt##id(SatStatsHelper::OUTPUT_PDF_PLOT); \
s->AddAverageUt##id(SatStatsHelper::OUTPUT_CDF_PLOT);

Definition at line 59 of file sat-cbr-stats-example.cc.

◆ CALL_SAT_STATS_BASIC_ELEMENT

#define CALL_SAT_STATS_BASIC_ELEMENT (   id)
Value:
s->Add##id(SatStatsHelper::OUTPUT_SCALAR_FILE); \
s->Add##id(SatStatsHelper::OUTPUT_SCATTER_FILE); \
s->Add##id(SatStatsHelper::OUTPUT_SCATTER_PLOT);

Definition at line 31 of file sat-cbr-stats-example.cc.

◆ CALL_SAT_STATS_BASIC_SET

#define CALL_SAT_STATS_BASIC_SET (   id)
Value:
CALL_SAT_STATS_BASIC_ELEMENT(PerGw##id) \
CALL_SAT_STATS_BASIC_ELEMENT(PerBeam##id) \
CALL_SAT_STATS_BASIC_ELEMENT(PerUt##id)
#define CALL_SAT_STATS_BASIC_ELEMENT(id)

Definition at line 36 of file sat-cbr-stats-example.cc.

◆ CALL_SAT_STATS_DISTRIBUTION_ELEMENT

#define CALL_SAT_STATS_DISTRIBUTION_ELEMENT (   id)
Value:
s->Add##id(SatStatsHelper::OUTPUT_SCALAR_FILE); \
s->Add##id(SatStatsHelper::OUTPUT_SCATTER_FILE); \
s->Add##id(SatStatsHelper::OUTPUT_HISTOGRAM_FILE); \
s->Add##id(SatStatsHelper::OUTPUT_PDF_FILE); \
s->Add##id(SatStatsHelper::OUTPUT_CDF_FILE); \
s->Add##id(SatStatsHelper::OUTPUT_SCATTER_PLOT); \
s->Add##id(SatStatsHelper::OUTPUT_HISTOGRAM_PLOT); \
s->Add##id(SatStatsHelper::OUTPUT_PDF_PLOT); \
s->Add##id(SatStatsHelper::OUTPUT_CDF_PLOT);

Definition at line 42 of file sat-cbr-stats-example.cc.

◆ CALL_SAT_STATS_DISTRIBUTION_SET

#define CALL_SAT_STATS_DISTRIBUTION_SET (   id)
Value:
CALL_SAT_STATS_DISTRIBUTION_ELEMENT(PerGw##id) \
CALL_SAT_STATS_DISTRIBUTION_ELEMENT(PerBeam##id) \
CALL_SAT_STATS_DISTRIBUTION_ELEMENT(PerUt##id)
#define CALL_SAT_STATS_DISTRIBUTION_ELEMENT(id)

Definition at line 53 of file sat-cbr-stats-example.cc.