A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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.
 
std::vector< uint64_t > bytesDropped
 bytesDropped[reasonCode] => number of dropped bytes
 
Time delayFromFirstProbeSum
 divide by 'packets' to get the average delay from the first (entry) probe up to this one (partial delay)
 
uint32_t packets
 Number of packets seen of this flow.
 
std::vector< uint32_tpacketsDropped
 packetsDropped[reasonCode] => number of dropped packets
 

Detailed Description

Structure to hold the statistics of a flow.

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

Constructor & Destructor Documentation

◆ FlowStats()

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

Definition at line 51 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 66 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 61 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 64 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 68 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 59 of file flow-probe.h.

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


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