Move inline code in pf-ff-mac-schedluer to cc file
This commit is contained in:
@@ -40,6 +40,20 @@ int PfType0AllocationRbg[4] = {
|
||||
NS_OBJECT_ENSURE_REGISTERED (PfFfMacScheduler);
|
||||
|
||||
|
||||
bool
|
||||
operator< (const pfsFlowId_t& lhs, const pfsFlowId_t& rhs)
|
||||
{
|
||||
if (lhs.m_rnti == rhs.m_rnti)
|
||||
{
|
||||
return (lhs.m_lcId < rhs.m_lcId);
|
||||
}
|
||||
else
|
||||
{
|
||||
return (lhs.m_rnti < rhs.m_rnti);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
class PfSchedulerMemberCschedSapProvider : public FfMacCschedSapProvider
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -36,11 +36,10 @@ struct pfsFlowId_t
|
||||
{
|
||||
uint16_t m_rnti;
|
||||
uint8_t m_lcId;
|
||||
|
||||
bool operator<(const pfsFlowId_t& A) const
|
||||
{ return m_rnti<A.m_rnti; }
|
||||
};
|
||||
|
||||
bool operator< (const pfsFlowId_t& lhs, const pfsFlowId_t& rhs);
|
||||
|
||||
struct pfsFlowPerf_t
|
||||
{
|
||||
Time flowStart;
|
||||
|
||||
Reference in New Issue
Block a user