OverSim
I3LatencyStretch.cc File Reference
#include "I3BaseApp.h"
#include "I3.h"

Go to the source code of this file.

Classes

struct  NodeIdentity
struct  LatencyInfo
struct  MsgContent
class  I3LatencyStretch

Macros

#define TRIGGER_TIMER   1234
#define STRETCH_HELLO   12345
#define STRETCH_HELLOACK   12346
#define STRETCH_I3MSG   12347
#define STRETCH_IPMSG   12348
#define USE_NO_SAMPLING   0
#define USE_QUERY_FLAG   1
#define USE_CLOSEST_ID   2
#define USE_SAMPLING   (USE_QUERY_FLAG | USE_CLOSEST_ID)

Enumerations

enum  Stats {
  STAT_IP, STAT_I3, STAT_RATIO, NUM_STATS,
  STAT_CHANGE, STAT_RX, STAT_WRONG, NUM_STATS
}

Functions

 Define_Module (I3LatencyStretch)

Variables

static cStdDev stats [NUM_STATS]
static bool statsDumped = false

Detailed Description

Author
Antonio Zea

Definition in file I3LatencyStretch.cc.

Macro Definition Documentation

#define STRETCH_HELLO   12345
#define STRETCH_HELLOACK   12346

Definition at line 29 of file I3LatencyStretch.cc.

Referenced by I3LatencyStretch::deliver().

#define STRETCH_I3MSG   12347
#define STRETCH_IPMSG   12348

Definition at line 31 of file I3LatencyStretch.cc.

Referenced by I3LatencyStretch::handleTimerEvent().

#define TRIGGER_TIMER   1234
#define USE_CLOSEST_ID   2

Definition at line 35 of file I3LatencyStretch.cc.

Referenced by I3LatencyStretch::initializeI3().

#define USE_NO_SAMPLING   0

Definition at line 33 of file I3LatencyStretch.cc.

#define USE_QUERY_FLAG   1
#define USE_SAMPLING   (USE_QUERY_FLAG | USE_CLOSEST_ID)

Definition at line 36 of file I3LatencyStretch.cc.

Enumeration Type Documentation

enum Stats
Enumerator:
STAT_IP 
STAT_I3 
STAT_RATIO 
NUM_STATS 
STAT_CHANGE 
STAT_RX 
STAT_WRONG 
NUM_STATS 

Definition at line 40 of file I3LatencyStretch.cc.

Function Documentation

Define_Module ( I3LatencyStretch  )

Variable Documentation

cStdDev stats[NUM_STATS]
static
bool statsDumped = false
static