5G-LENA nr-v3.1-69-g2dd513a7
The 5G/NR module for the ns-3 simulator
|
This class writes RLC or PDC statistics to separate files: More...
#include "nr-bearer-stats-simple.h"
Public Member Functions | |
NrBearerStatsSimple () | |
NrBearerStatsSimple (std::string protocolType) | |
~NrBearerStatsSimple () override | |
void | DlRxPdu (uint16_t cellId, uint64_t imsi, uint16_t rnti, uint8_t lcid, uint32_t packetSize, uint64_t delay) override |
void | DlTxPdu (uint16_t cellId, uint64_t imsi, uint16_t rnti, uint8_t lcid, uint32_t packetSize) override |
void | DoDispose () override |
std::string | GetDlRxOutputFilename () |
std::string | GetDlTxOutputFilename () |
std::string | GetUlRxOutputFilename () |
std::string | GetUlTxOutputFilename () |
void | UlRxPdu (uint16_t cellId, uint64_t imsi, uint16_t rnti, uint8_t lcid, uint32_t packetSize, uint64_t delay) override |
void | UlTxPdu (uint16_t cellId, uint64_t imsi, uint16_t rnti, uint8_t lcid, uint32_t packetSize) override |
Public Member Functions inherited from ns3::NrBearerStatsBase | |
void | DoDispose () override |
Static Public Member Functions | |
static TypeId | GetTypeId () |
Static Public Member Functions inherited from ns3::NrBearerStatsBase | |
static TypeId | GetTypeId () |
This class writes RLC or PDC statistics to separate files:
Introspection did not find any typical Config paths.
No TraceSources are defined for this type.
Size of this type is 2392 bytes (on a 64-bit architecture).
Definition at line 106 of file nr-bearer-stats-simple.h.
ns3::NrBearerStatsSimple::NrBearerStatsSimple | ( | ) |
Class constructor
Definition at line 32 of file nr-bearer-stats-simple.cc.
ns3::NrBearerStatsSimple::NrBearerStatsSimple | ( | std::string | protocolType | ) |
Class constructor
Definition at line 38 of file nr-bearer-stats-simple.cc.
|
override |
Class destructor
Definition at line 44 of file nr-bearer-stats-simple.cc.
|
overridevirtual |
Notifies the stats calculator that an downlink reception has occurred.
cellId | CellId of the attached Gnb |
imsi | IMSI of the UE who received the PDU |
rnti | C-RNTI of the UE who received the PDU |
lcid | LCID through which the PDU has been transmitted |
packetSize | size of the PDU in bytes |
delay | RLC to RLC delay in nanoseconds |
Implements ns3::NrBearerStatsBase.
Definition at line 195 of file nr-bearer-stats-simple.cc.
References GetDlRxOutputFilename().
|
overridevirtual |
Notifies the stats calculator that an downlink transmission has occurred.
cellId | CellId of the attached Gnb |
imsi | IMSI of the UE who is receiving the PDU |
rnti | C-RNTI of the UE who is receiving the PDU |
lcid | LCID through which the PDU has been transmitted |
packetSize | size of the PDU in bytes |
Implements ns3::NrBearerStatsBase.
Definition at line 138 of file nr-bearer-stats-simple.cc.
References GetDlTxOutputFilename().
|
override |
< Output file stream to which DL RLC TX stats will be written
< Output file stream to which DL RLC RX stats will be written
< Output file stream to which UL RLC TX stats will be written
< Output file stream to which UL RLC RX stats will be written
Definition at line 101 of file nr-bearer-stats-simple.cc.
std::string ns3::NrBearerStatsSimple::GetDlRxOutputFilename | ( | ) |
Get the name of the file where the DL RX (RLC or PDCP) statistics will be stored.
Definition at line 264 of file nr-bearer-stats-simple.cc.
Referenced by DlRxPdu().
std::string ns3::NrBearerStatsSimple::GetDlTxOutputFilename | ( | ) |
Get the name of the file where the DL TX (RLC or PDCP) statistics will be stored.
Definition at line 251 of file nr-bearer-stats-simple.cc.
Referenced by DlTxPdu().
|
static |
Register this type.
Definition at line 50 of file nr-bearer-stats-simple.cc.
std::string ns3::NrBearerStatsSimple::GetUlRxOutputFilename | ( | ) |
Get the name of the file where the UL RX (RLC or PDCP) statistics will be stored.
Definition at line 238 of file nr-bearer-stats-simple.cc.
Referenced by UlRxPdu().
std::string ns3::NrBearerStatsSimple::GetUlTxOutputFilename | ( | ) |
Get the name of the file where the UL TX (RLC or PDCP) statistics will be stored.
Definition at line 225 of file nr-bearer-stats-simple.cc.
Referenced by UlTxPdu().
|
overridevirtual |
Notifies the stats calculator that an uplink reception has occurred.
cellId | CellId of the attached Gnb |
imsi | IMSI of the UE who received the PDU |
rnti | C-RNTI of the UE who received the PDU |
lcid | LCID through which the PDU has been received |
packetSize | size of the PDU in bytes |
delay | RLC to RLC delay in nanoseconds |
Implements ns3::NrBearerStatsBase.
Definition at line 165 of file nr-bearer-stats-simple.cc.
References GetUlRxOutputFilename().
|
overridevirtual |
Notifies the stats calculator that an uplink transmission has occurred.
cellId | CellId of the attached Gnb |
imsi | IMSI of the UE who transmitted the PDU |
rnti | C-RNTI of the UE who transmitted the PDU |
lcid | LCID through which the PDU has been transmitted |
packetSize | size of the PDU in bytes |
Implements ns3::NrBearerStatsBase.
Definition at line 112 of file nr-bearer-stats-simple.cc.
References GetUlTxOutputFilename().