OverSim
StatisticsAndDelay Struct Reference

#include <SimpleTCP.h>

Public Types

enum  delayFaultTypeNum { delayFaultUndefined, delayFaultLiveAll, delayFaultLivePlanetlab, delayFaultSimulation }

Public Attributes

std::string delayFaultTypeString
std::map< std::string,
delayFaultTypeNum
delayFaultTypeMap
int numSent
 number of sent packets
int numQueueLost
 number of lost packets due to queue full
int numPartitionLost
 number of lost packets due to network partitions
int numDestUnavailableLost
 number of lost packets due to unavailable destination
simtime_t delay
 simulated delay between sending and receiving udp module
simtime_t constantDelay
 constant delay between two peers
bool useCoordinateBasedDelay
 delay should be calculated from euklidean distance between two peers
double jitter
 amount of jitter in % of total delay
bool faultyDelay
GlobalNodeListglobalNodeList
 violate the triangle inequality?
GlobalStatisticsglobalStatistics
 pointer to GlobalStatistics
SimpleNodeEntrynodeEntry
 nodeEntry of the overlay node this module belongs to

Detailed Description

Definition at line 43 of file SimpleTCP.h.

Member Enumeration Documentation

Enumerator:
delayFaultUndefined 
delayFaultLiveAll 
delayFaultLivePlanetlab 
delayFaultSimulation 

Definition at line 49 of file SimpleTCP.h.

Member Data Documentation

simtime_t StatisticsAndDelay::constantDelay

constant delay between two peers

Definition at line 64 of file SimpleTCP.h.

Referenced by SimpleTCP::initialize(), and SimpleTCPConnection::sendToIP().

simtime_t StatisticsAndDelay::delay

simulated delay between sending and receiving udp module

Definition at line 62 of file SimpleTCP.h.

std::map<std::string, delayFaultTypeNum> StatisticsAndDelay::delayFaultTypeMap

Definition at line 55 of file SimpleTCP.h.

Referenced by SimpleTCP::initialize().

std::string StatisticsAndDelay::delayFaultTypeString

Definition at line 48 of file SimpleTCP.h.

Referenced by SimpleTCP::initialize().

bool StatisticsAndDelay::faultyDelay

Definition at line 67 of file SimpleTCP.h.

Referenced by SimpleTCP::initialize(), and SimpleTCPConnection::sendToIP().

GlobalNodeList* StatisticsAndDelay::globalNodeList

violate the triangle inequality?

pointer to GlobalNodeList

Definition at line 68 of file SimpleTCP.h.

Referenced by SimpleTCP::initialize(), and SimpleTCPConnection::sendToIP().

GlobalStatistics* StatisticsAndDelay::globalStatistics

pointer to GlobalStatistics

Definition at line 69 of file SimpleTCP.h.

Referenced by SimpleTCP::finish(), SimpleTCP::initialize(), and SimpleTCP::SimpleTCP().

double StatisticsAndDelay::jitter

amount of jitter in % of total delay

Definition at line 66 of file SimpleTCP.h.

Referenced by SimpleTCP::initialize(), and SimpleTCPConnection::sendToIP().

SimpleNodeEntry* StatisticsAndDelay::nodeEntry

nodeEntry of the overlay node this module belongs to

Definition at line 70 of file SimpleTCP.h.

Referenced by SimpleTCP::initialize(), SimpleTCPConnection::sendToIP(), and SimpleTCP::setNodeEntry().

int StatisticsAndDelay::numDestUnavailableLost

number of lost packets due to unavailable destination

Definition at line 61 of file SimpleTCP.h.

Referenced by SimpleTCP::finish(), SimpleTCP::initialize(), and SimpleTCPConnection::sendToIP().

int StatisticsAndDelay::numPartitionLost

number of lost packets due to network partitions

Definition at line 60 of file SimpleTCP.h.

Referenced by SimpleTCP::finish(), SimpleTCP::initialize(), and SimpleTCPConnection::sendToIP().

int StatisticsAndDelay::numQueueLost

number of lost packets due to queue full

Definition at line 59 of file SimpleTCP.h.

Referenced by SimpleTCP::finish(), SimpleTCP::initialize(), and SimpleTCPConnection::sendToIP().

int StatisticsAndDelay::numSent

number of sent packets

Definition at line 58 of file SimpleTCP.h.

Referenced by SimpleTCP::finish(), SimpleTCP::initialize(), and SimpleTCPConnection::sendToIP().

bool StatisticsAndDelay::useCoordinateBasedDelay

delay should be calculated from euklidean distance between two peers

Definition at line 65 of file SimpleTCP.h.

Referenced by SimpleTCP::initialize(), and SimpleTCPConnection::sendToIP().


The documentation for this struct was generated from the following file: