A Discrete-Event Network Simulator
API
ns3::FlowProbe::FlowStats Struct Reference

Structure to hold the statistics of a flow. More...

#include "flow-probe.h"

+ Collaboration diagram for ns3::FlowProbe::FlowStats:

Public Member Functions

 FlowStats ()
 

Public Attributes

uint64_t bytes
 Number of bytes seen of this flow. More...
 
std::vector< uint64_t > bytesDropped
 bytesDropped[reasonCode] => number of dropped bytes More...
 
Time delayFromFirstProbeSum
 divide by 'packets' to get the average delay from the first (entry) probe up to this one (partial delay) More...
 
uint32_t packets
 Number of packets seen of this flow. More...
 
std::vector< uint32_t > packetsDropped
 packetsDropped[reasonCode] => number of dropped packets More...
 

Detailed Description

Structure to hold the statistics of a flow.

Definition at line 62 of file flow-probe.h.

Constructor & Destructor Documentation

◆ FlowStats()

ns3::FlowProbe::FlowStats::FlowStats ( )
inline

Definition at line 64 of file flow-probe.h.

Member Data Documentation

◆ bytes

uint64_t ns3::FlowProbe::FlowStats::bytes

Number of bytes seen of this flow.

Definition at line 74 of file flow-probe.h.

Referenced by ns3::FlowProbe::AddPacketStats().

◆ bytesDropped

std::vector<uint64_t> ns3::FlowProbe::FlowStats::bytesDropped

bytesDropped[reasonCode] => number of dropped bytes

Definition at line 69 of file flow-probe.h.

Referenced by ns3::FlowProbe::AddPacketDropStats().

◆ delayFromFirstProbeSum

Time ns3::FlowProbe::FlowStats::delayFromFirstProbeSum

divide by 'packets' to get the average delay from the first (entry) probe up to this one (partial delay)

Definition at line 72 of file flow-probe.h.

Referenced by ns3::FlowProbe::AddPacketStats().

◆ packets

uint32_t ns3::FlowProbe::FlowStats::packets

Number of packets seen of this flow.

Definition at line 76 of file flow-probe.h.

Referenced by ns3::FlowProbe::AddPacketStats().

◆ packetsDropped

std::vector<uint32_t> ns3::FlowProbe::FlowStats::packetsDropped

packetsDropped[reasonCode] => number of dropped packets

Definition at line 67 of file flow-probe.h.

Referenced by ns3::FlowProbe::AddPacketDropStats().


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