5#include "nr-mac-scheduler-ue-info-pf.h"
12NS_LOG_COMPONENT_DEFINE(
"NrMacSchedulerUeInfoPF");
18 NS_LOG_FUNCTION(
this);
26 NS_LOG_DEBUG(
"Update DL PF Metric for UE "
28 <<
" avgTputDl " <<
m_avgTputDl <<
" over n. of syms: " << +totAssigned.
m_sym
30 <<
static_cast<uint32_t
>(totAssigned.
m_sym)
38 NS_LOG_FUNCTION(
this);
46 NS_LOG_DEBUG(
"Update UL PF Metric for UE "
48 <<
" avgTputUl " <<
m_avgTputUl <<
" over n. of syms: " << +totAssigned.
m_sym
50 <<
static_cast<uint32_t
>(totAssigned.
m_sym)
58 NS_LOG_FUNCTION(
this);
73 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.
uint8_t GetDlMcs() const
Get the downlink MCS, given by the wideband CQI, or the sub-band CQIs of the currently allocated RBGs...
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_avgTputDl
Average throughput in downlink during all the slots.
void UpdateUlPFMetric(const NrMacSchedulerNs3::FTResources &totAssigned, double timeWindow)
Update the PF metric for uplink.
double m_lastAvgTputUl
Last average throughput in uplink.
void CalculatePotentialTPutDl(const NrMacSchedulerNs3::FTResources &assignableInIteration)
Calculate the Potential throughput for downlink.
void UpdateDlPFMetric(const NrMacSchedulerNs3::FTResources &totAssigned, double timeWindow)
Update the PF metric for downlink.
double m_lastAvgTputDl
Last average throughput in downlink.
double m_currTputUl
Current slot throughput in uplink.
void CalculatePotentialTPutUl(const NrMacSchedulerNs3::FTResources &assignableInIteration)
Calculate the Potential throughput for uplink.
double m_avgTputUl
Average throughput in uplink during all the slots.
Point in the Frequency/Time plane.
uint32_t m_rbg
Represent the starting RBG.
uint8_t m_sym
Represent the starting symbol.