23 #ifndef MAC_STATS_CALCULATOR_H_ 24 #define MAC_STATS_CALCULATOR_H_ 26 #include "ns3/lte-stats-calculator.h" 27 #include "ns3/nstime.h" 28 #include "ns3/uinteger.h" 31 #include "ns3/lte-enb-mac.h" 122 void UlScheduling (uint16_t cellId, uint64_t imsi,uint32_t frameNo, uint32_t subframeNo,
123 uint16_t rnti, uint8_t mcsTb, uint16_t sizeTb, uint8_t componentCarrierId);
148 uint32_t frameNo, uint32_t subframeNo, uint16_t rnti,
149 uint8_t mcs, uint16_t size, uint8_t componentCarrierId);
Base class for ***StatsCalculator classes.
Smart pointer class similar to boost::intrusive_ptr.
Takes care of storing the information generated at MAC layer.
static void UlSchedulingCallback(Ptr< MacStatsCalculator > macStats, std::string path, uint32_t frameNo, uint32_t subframeNo, uint16_t rnti, uint8_t mcs, uint16_t size, uint8_t componentCarrierId)
Trace sink for the ns3::LteEnbMac::UlScheduling trace source.
MacStatsCalculator()
Constructor.
bool m_ulFirstWrite
When writing UL MAC statistics first time to file, columns description is added.
void SetDlOutputFilename(std::string outputFilename)
Set the name of the file where the downlink statistics will be stored.
static TypeId GetTypeId(void)
Register this type.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
std::string GetDlOutputFilename(void)
Get the name of the file where the downlink statistics will be stored.
bool m_dlFirstWrite
When writing DL MAC statistics first time to file, columns description is added.
void UlScheduling(uint16_t cellId, uint64_t imsi, uint32_t frameNo, uint32_t subframeNo, uint16_t rnti, uint8_t mcsTb, uint16_t sizeTb, uint8_t componentCarrierId)
Notifies the stats calculator that an uplink scheduling has occurred.
std::string GetUlOutputFilename(void)
Get the name of the file where the uplink statistics will be stored.
static void DlSchedulingCallback(Ptr< MacStatsCalculator > macStats, std::string path, DlSchedulingCallbackInfo dlSchedulingCallbackInfo)
Trace sink for the ns3::LteEnbMac::DlScheduling trace source.
virtual ~MacStatsCalculator()
Destructor.
DlSchedulingCallbackInfo structure.
a unique identifier for an interface.
void SetUlOutputFilename(std::string outputFilename)
Set the name of the file where the uplink statistics will be stored.
void DlScheduling(uint16_t cellId, uint64_t imsi, DlSchedulingCallbackInfo dlSchedulingCallbackInfo)
Notifies the stats calculator that an downlink scheduling has occurred.