5#include "nr-mac-scheduler-ue-info-qos.h"
12NS_LOG_COMPONENT_DEFINE(
"NrMacSchedulerUeInfoQos");
18 NS_LOG_FUNCTION(
this);
25 NS_LOG_DEBUG(
"Update DL QoS Metric for UE "
27 <<
" avgTputDl " <<
m_avgTputDl <<
" over n. of syms: " << +totAssigned.
m_sym
29 <<
static_cast<uint32_t
>(totAssigned.
m_sym)
37 NS_LOG_FUNCTION(
this);
45 NS_LOG_DEBUG(
"Update UL PF Metric for UE "
47 <<
" avgTputUl " <<
m_avgTputUl <<
" over n. of syms: " << +totAssigned.
m_sym
49 <<
static_cast<uint32_t
>(totAssigned.
m_sym)
57 NS_LOG_FUNCTION(
this);
75 NS_LOG_FUNCTION(
this);
uint32_t GetNumRbPerRbg() const
Retrieve the number of RB per RBG.
Ptr< NrAmc > m_dlAmc
AMC instance of scheduler associated with DL.
uint8_t m_ulRank
UL rank (number of MIMO layers)
virtual void UpdateUlMetric()
Update UL metrics after resources have been assigned.
uint8_t m_dlRank
DL rank (number of MIMO layers)
uint16_t m_rnti
RNTI of the UE.
virtual void UpdateDlMetric()
Update DL metrics after resources have been assigned.
Ptr< NrAmc > m_ulAmc
AMC instance of scheduler associated with UL.
double m_currTputDl
Current slot throughput in downlink.
double m_currTputUl
Current slot throughput in uplink.
double m_avgTputDl
Average throughput in downlink during all the slots.
void UpdateUlQosMetric(const NrMacSchedulerNs3::FTResources &totAssigned, double timeWindow)
Update the QoS metric for uplink.
double m_avgTputUl
Average throughput in uplink during all the slots.
double m_lastAvgTputDl
Last average throughput in downlink.
double m_lastAvgTputUl
Last average throughput in uplink.
void UpdateDlQosMetric(const NrMacSchedulerNs3::FTResources &totAssigned, double timeWindow)
Update the QoS metric for downlink.
void CalculatePotentialTPutUl(const NrMacSchedulerNs3::FTResources &assignableInIteration)
Calculate the Potential throughput for uplink.
void CalculatePotentialTPutDl(const NrMacSchedulerNs3::FTResources &assignableInIteration)
Calculate the Potential throughput for downlink.
Point in the Frequency/Time plane.
uint32_t m_rbg
Represent the starting RBG.
uint8_t m_sym
Represent the starting symbol.