#include <phy-stats-calculator.h>
Inheritance diagram for ns3::PhyStatsCalculator:Public Member Functions | |
| PhyStatsCalculator () | |
| virtual | ~PhyStatsCalculator () |
| std::string | GetCurrentCellRsrpSinrFilename (void) |
| std::string | GetInterferenceFilename (void) |
| std::string | GetUeSinrFilename (void) |
| void | ReportCurrentCellRsrpSinr (uint16_t cellId, uint64_t imsi, uint16_t rnti, double rsrp, double sinr) |
| void | ReportInterference (uint16_t cellId, Ptr< SpectrumValue > interference) |
| void | ReportUeSinr (uint16_t cellId, uint64_t imsi, uint16_t rnti, double sinrLinear) |
| void | SetCurrentCellRsrpSinrFilename (std::string filename) |
| void | SetInterferenceFilename (std::string filename) |
| void | SetUeSinrFilename (std::string filename) |
Public Member Functions inherited from ns3::LteStatsCalculator | |
| 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) |
Public Member Functions inherited from ns3::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) |
Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter > | |
| SimpleRefCount (const SimpleRefCount &o) | |
| uint32_t | GetReferenceCount (void) const |
| SimpleRefCount & | operator= (const SimpleRefCount &o) |
| void | Ref (void) const |
| void | Unref (void) const |
Public Member Functions inherited from ns3::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 TypeId | GetTypeId (void) |
Static Public Member Functions inherited from ns3::LteStatsCalculator | |
| static TypeId | GetTypeId (void) |
Static Public Member Functions inherited from ns3::Object | |
| static TypeId | GetTypeId (void) |
Static Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter > | |
| static void | Cleanup (void) |
Static Public Member Functions inherited from ns3::ObjectBase | |
| static TypeId | GetTypeId (void) |
Private Attributes | |
| std::string | m_interferenceFilename |
| bool | m_InterferenceFirstWrite |
| std::string | m_RsrpSinrFilename |
| bool | m_RsrpSinrFirstWrite |
| std::string | m_ueSinrFilename |
| bool | m_UeSinrFirstWrite |
Additional Inherited Members | |
Protected Member Functions inherited from ns3::Object | |
| Object (const Object &o) | |
| virtual void | DoDispose (void) |
| virtual void | DoInitialize (void) |
| virtual void | NotifyNewAggregate (void) |
Protected Member Functions inherited from ns3::ObjectBase | |
| void | ConstructSelf (const AttributeConstructionList &attributes) |
| virtual void | NotifyConstructionCompleted (void) |
Takes care of storing the information generated at PHY layer. Metrics saved are:
Doxygen introspection did not find any typical Config paths.
No TraceSources are defined for this type.
Definition at line 53 of file phy-stats-calculator.h.
| ns3::PhyStatsCalculator::PhyStatsCalculator | ( | ) |
|
virtual |
| std::string ns3::PhyStatsCalculator::GetCurrentCellRsrpSinrFilename | ( | void | ) |
Get the name of the file where the RSRP/SINR statistics will be stored.
Definition at line 78 of file phy-stats-calculator.cc.
Referenced by ReportCurrentCellRsrpSinr().
| std::string ns3::PhyStatsCalculator::GetInterferenceFilename | ( | void | ) |
Get the name of the file where the interference statistics will be stored.
Definition at line 102 of file phy-stats-calculator.cc.
Referenced by ReportInterference().
|
static |
Inherited from ns3::Object
Definition at line 47 of file phy-stats-calculator.cc.
References SetCurrentCellRsrpSinrFilename(), SetInterferenceFilename(), ns3::TypeId::SetParent(), and SetUeSinrFilename().
| std::string ns3::PhyStatsCalculator::GetUeSinrFilename | ( | void | ) |
Get the name of the file where the UE SINR statistics will be stored.
Definition at line 90 of file phy-stats-calculator.cc.
Referenced by ReportUeSinr().
| void ns3::PhyStatsCalculator::ReportCurrentCellRsrpSinr | ( | uint16_t | cellId, |
| uint64_t | imsi, | ||
| uint16_t | rnti, | ||
| double | rsrp, | ||
| double | sinr | ||
| ) |
Notifies the stats calculator that an RSRP and SINR report has occurred.
| imsi | IMSI of the scheduled UE |
| rnti | C-RNTI scheduled |
| rsrp | Reference Signal Received Power |
| sinr | SINR averaged among RBs |
Definition at line 110 of file phy-stats-calculator.cc.
References GetCurrentCellRsrpSinrFilename(), ns3::Time::GetNanoSeconds(), ns3::Simulator::Now(), NS_LOG_ERROR, NS_LOG_FUNCTION, and NS_LOG_INFO.
| void ns3::PhyStatsCalculator::ReportInterference | ( | uint16_t | cellId, |
| Ptr< SpectrumValue > | interference | ||
| ) |
Notifies the stats calculator that an interference report has occurred.
| imsi | IMSI of the scheduled UE |
| rnti | C-RNTI scheduled |
| cellId | Cell ID of the reported Enb |
| interference | Measured interference for each RB |
Definition at line 186 of file phy-stats-calculator.cc.
References GetInterferenceFilename(), ns3::Time::GetNanoSeconds(), ns3::Simulator::Now(), NS_LOG_ERROR, NS_LOG_FUNCTION, and NS_LOG_INFO.
| void ns3::PhyStatsCalculator::ReportUeSinr | ( | uint16_t | cellId, |
| uint64_t | imsi, | ||
| uint16_t | rnti, | ||
| double | sinrLinear | ||
| ) |
Notifies the stats calculator that an UE SINR report has occurred.
| cellId | Cell ID of the reported Enb |
| imsi | IMSI of the scheduled UE |
| rnti | C-RNTI scheduled |
| sinrLinear | measured and reported SINR value in linear |
Definition at line 149 of file phy-stats-calculator.cc.
References ns3::Time::GetNanoSeconds(), GetUeSinrFilename(), ns3::Simulator::Now(), NS_LOG_ERROR, NS_LOG_FUNCTION, and NS_LOG_INFO.
| void ns3::PhyStatsCalculator::SetCurrentCellRsrpSinrFilename | ( | std::string | filename | ) |
Set the name of the file where the RSRP/SINR statistics will be stored.
| filename | string with the name of the file |
Definition at line 72 of file phy-stats-calculator.cc.
Referenced by GetTypeId().
| void ns3::PhyStatsCalculator::SetInterferenceFilename | ( | std::string | filename | ) |
Set the name of the file where the interference statistics will be stored.
| filename | string with the name of the file |
Definition at line 96 of file phy-stats-calculator.cc.
Referenced by GetTypeId().
| void ns3::PhyStatsCalculator::SetUeSinrFilename | ( | std::string | filename | ) |
Set the name of the file where the UE SINR statistics will be stored.
| filename | string with the name of the file |
Definition at line 84 of file phy-stats-calculator.cc.
Referenced by GetTypeId().