#include <phy-tx-stats-calculator.h>
Public Member Functions | |
PhyTxStatsCalculator () | |
virtual | ~PhyTxStatsCalculator () |
void | DlPhyTransmission (PhyTransmissionStatParameters params) |
std::string | GetDlTxOutputFilename (void) |
std::string | GetUlTxOutputFilename (void) |
void | SetDlTxOutputFilename (std::string outputFilename) |
void | SetUlTxOutputFilename (std::string outputFilename) |
void | UlPhyTransmission (PhyTransmissionStatParameters params) |
![]() | |
LteStatsCalculator () | |
virtual | ~LteStatsCalculator () |
bool | ExistsCellIdPath (std::string path) |
bool | ExistsImsiPath (std::string path) |
uint16_t | GetCellIdPath (std::string path) |
std::string | GetDlOutputFilename (void) |
uint64_t | GetImsiPath (std::string path) |
std::string | GetUlOutputFilename (void) |
void | SetCellIdPath (std::string path, uint16_t cellId) |
void | SetDlOutputFilename (std::string outputFilename) |
void | SetImsiPath (std::string path, uint64_t imsi) |
void | SetUlOutputFilename (std::string outputFilename) |
![]() | |
Object () | |
virtual | ~Object () |
void | AggregateObject (Ptr< Object > other) |
void | Dispose (void) |
AggregateIterator | GetAggregateIterator (void) const |
virtual TypeId | GetInstanceTypeId (void) const |
template<typename T > | |
Ptr< T > | GetObject (void) const |
template<typename T > | |
Ptr< T > | GetObject (TypeId tid) const |
void | Initialize (void) |
![]() | |
SimpleRefCount () | |
SimpleRefCount (const SimpleRefCount &o) | |
uint32_t | GetReferenceCount (void) const |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
void | Ref (void) const |
void | Unref (void) const |
![]() | |
virtual | ~ObjectBase () |
void | GetAttribute (std::string name, AttributeValue &value) const |
bool | GetAttributeFailSafe (std::string name, AttributeValue &attribute) const |
void | SetAttribute (std::string name, const AttributeValue &value) |
bool | SetAttributeFailSafe (std::string name, const AttributeValue &value) |
bool | TraceConnect (std::string name, std::string context, const CallbackBase &cb) |
bool | TraceConnectWithoutContext (std::string name, const CallbackBase &cb) |
bool | TraceDisconnect (std::string name, std::string context, const CallbackBase &cb) |
bool | TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb) |
Static Public Member Functions | |
static void | DlPhyTransmissionCallback (Ptr< PhyTxStatsCalculator > phyTxStats, std::string path, PhyTransmissionStatParameters params) |
static TypeId | GetTypeId (void) |
static void | UlPhyTransmissionCallback (Ptr< PhyTxStatsCalculator > phyTxStats, std::string path, PhyTransmissionStatParameters params) |
![]() | |
static TypeId | GetTypeId (void) |
![]() | |
static TypeId | GetTypeId (void) |
![]() | |
static void | Cleanup (void) |
![]() | |
static TypeId | GetTypeId (void) |
Private Attributes | |
bool | m_dlTxFirstWrite |
bool | m_ulTxFirstWrite |
Additional Inherited Members | |
![]() | |
Object (const Object &o) | |
virtual void | DoDispose (void) |
virtual void | DoInitialize (void) |
virtual void | NotifyNewAggregate (void) |
![]() | |
void | ConstructSelf (const AttributeConstructionList &attributes) |
virtual void | NotifyConstructionCompleted (void) |
![]() | |
static uint16_t | FindCellIdFromEnbMac (std::string path, uint16_t rnti) |
static uint16_t | FindCellIdFromEnbRlcPath (std::string path) |
static uint64_t | FindImsiForEnb (std::string path, uint16_t rnti) |
static uint64_t | FindImsiForUe (std::string path, uint16_t rnti) |
static uint64_t | FindImsiFromEnbMac (std::string path, uint16_t rnti) |
static uint64_t | FindImsiFromEnbRlcPath (std::string path) |
static uint64_t | FindImsiFromLteNetDevice (std::string path) |
static uint64_t | FindImsiFromUePhy (std::string path) |
Takes care of storing the information generated at PHY layer regarding transmission. Metrics saved are: time
Doxygen introspection did not find any typical Config paths.
No TraceSources are defined for this type.
Definition at line 50 of file phy-tx-stats-calculator.h.
ns3::PhyTxStatsCalculator::PhyTxStatsCalculator | ( | ) |
|
virtual |
void ns3::PhyTxStatsCalculator::DlPhyTransmission | ( | PhyTransmissionStatParameters | params | ) |
Notifies the stats calculator that an downlink trasmission has occurred.
cellId | Cell ID of the attached Enb |
imsi | IMSI of the scheduled UE |
frameNo | Frame number |
subframeNo | Subframe number |
rnti | C-RNTI scheduled |
layer | the layer (cw) of the transmission |
txMode | the transmission Mode |
mcs | MCS for transport block |
size | Size of transport block |
rv | the redundancy version (HARQ) |
ndi | new data indicator flag |
Definition at line 92 of file phy-tx-stats-calculator.cc.
References ns3::LteStatsCalculator::GetDlOutputFilename(), GetDlTxOutputFilename(), ns3::PhyTransmissionStatParameters::m_cellId, m_dlTxFirstWrite, ns3::PhyTransmissionStatParameters::m_imsi, ns3::PhyTransmissionStatParameters::m_layer, ns3::PhyTransmissionStatParameters::m_mcs, ns3::PhyTransmissionStatParameters::m_ndi, ns3::PhyTransmissionStatParameters::m_rnti, ns3::PhyTransmissionStatParameters::m_rv, ns3::PhyTransmissionStatParameters::m_size, ns3::PhyTransmissionStatParameters::m_timestamp, NS_LOG_ERROR, NS_LOG_FUNCTION, and NS_LOG_INFO.
|
static |
trace sink
phyTxStats | |
path | |
params |
Definition at line 180 of file phy-tx-stats-calculator.cc.
References ns3::LteStatsCalculator::FindImsiForEnb(), ns3::PhyTransmissionStatParameters::m_imsi, ns3::PhyTransmissionStatParameters::m_rnti, and NS_LOG_FUNCTION.
Referenced by ns3::LteHelper::EnableDlTxPhyTraces().
std::string ns3::PhyTxStatsCalculator::GetDlTxOutputFilename | ( | void | ) |
Get the name of the file where the DL TX PHY statistics will be stored.
Definition at line 86 of file phy-tx-stats-calculator.cc.
References ns3::LteStatsCalculator::GetDlOutputFilename().
Referenced by DlPhyTransmission().
|
static |
Inherited from ns3::Object
Definition at line 48 of file phy-tx-stats-calculator.cc.
References SetDlTxOutputFilename(), ns3::TypeId::SetParent(), and SetUlTxOutputFilename().
std::string ns3::PhyTxStatsCalculator::GetUlTxOutputFilename | ( | void | ) |
Get the name of the file where the UL RX PHY statistics will be stored.
Definition at line 74 of file phy-tx-stats-calculator.cc.
References ns3::LteStatsCalculator::GetUlOutputFilename().
Referenced by UlPhyTransmission().
void ns3::PhyTxStatsCalculator::SetDlTxOutputFilename | ( | std::string | outputFilename | ) |
Set the name of the file where the DL TX PHY statistics will be stored.
outputFilename | string with the name of the file |
Definition at line 80 of file phy-tx-stats-calculator.cc.
References ns3::LteStatsCalculator::SetDlOutputFilename().
Referenced by GetTypeId().
void ns3::PhyTxStatsCalculator::SetUlTxOutputFilename | ( | std::string | outputFilename | ) |
Set the name of the file where the UL Tx PHY statistics will be stored.
outputFilename | string with the name of the file |
Definition at line 68 of file phy-tx-stats-calculator.cc.
References ns3::LteStatsCalculator::SetUlOutputFilename().
Referenced by GetTypeId().
void ns3::PhyTxStatsCalculator::UlPhyTransmission | ( | PhyTransmissionStatParameters | params | ) |
Notifies the stats calculator that an uplink trasmission has occurred.
cellId | Cell ID of the attached Enb |
imsi | IMSI of the scheduled UE |
frameNo | Frame number |
subframeNo | Subframe number |
rnti | C-RNTI scheduled |
layer | the layer (cw) of the transmission |
txMode | the transmission Mode |
mcs | MCS for transport block |
size | Size of transport block |
rv | the redundancy version (HARQ) |
ndi | new data indicator flag |
Definition at line 136 of file phy-tx-stats-calculator.cc.
References GetUlTxOutputFilename(), ns3::PhyTransmissionStatParameters::m_cellId, ns3::PhyTransmissionStatParameters::m_imsi, ns3::PhyTransmissionStatParameters::m_layer, ns3::PhyTransmissionStatParameters::m_mcs, ns3::PhyTransmissionStatParameters::m_ndi, ns3::PhyTransmissionStatParameters::m_rnti, ns3::PhyTransmissionStatParameters::m_rv, ns3::PhyTransmissionStatParameters::m_size, ns3::PhyTransmissionStatParameters::m_timestamp, m_ulTxFirstWrite, NS_LOG_ERROR, NS_LOG_FUNCTION, and NS_LOG_INFO.
|
static |
trace sink
phyTxStats | |
path | |
params |
Definition at line 202 of file phy-tx-stats-calculator.cc.
References ns3::LteStatsCalculator::FindImsiForUe(), ns3::PhyTransmissionStatParameters::m_imsi, ns3::PhyTransmissionStatParameters::m_rnti, and NS_LOG_FUNCTION.
Referenced by ns3::LteHelper::EnableUlTxPhyTraces().
|
private |
Definition at line 147 of file phy-tx-stats-calculator.h.
Referenced by DlPhyTransmission().
|
private |
Definition at line 148 of file phy-tx-stats-calculator.h.
Referenced by UlPhyTransmission().