this class implements a structure to manage some parameters and statistics related to a service flow More...
#include "service-flow-record.h"
Collaboration diagram for ns3::ServiceFlowRecord:Private Attributes | |
| int32_t | m_backlogged |
| back logged | |
| int32_t | m_backloggedTemp |
| back logged temp | |
| uint32_t | m_bwSinceLastExpiry |
| bandwidth granted since last expiry of minimum reserved traffic rate interval, only for nrtPS, to make sure minimum reserved traffic rate is maintained | |
| uint32_t | m_bytesRcvd |
| bytes received | |
| uint32_t | m_bytesSent |
| bytes sent | |
| Time | m_dlTimeStamp |
| time when this service flow's traffic was last sent | |
| uint32_t | m_grantedBandwidth |
| granted badnwidth | |
| uint32_t | m_grantedBandwidthTemp |
| Temporary variable used to sort list. | |
| uint32_t | m_grantSize |
| only used for UGS flow | |
| Time | m_grantTimeStamp |
| allocation (for data) for UGS flows and unicast poll (for bandwidth requests) for non-UGS flows | |
| Time | m_lastGrantTime |
| last grant time | |
| uint32_t | m_pktsRcvd |
| packets received | |
| uint32_t | m_pktsSent |
| packets sent | |
| uint32_t | m_requestedBandwidth |
| requested bandwidth | |
this class implements a structure to manage some parameters and statistics related to a service flow
Definition at line 28 of file service-flow-record.h.
| ns3::ServiceFlowRecord::ServiceFlowRecord | ( | ) |
Definition at line 14 of file service-flow-record.cc.
References m_backlogged, m_backloggedTemp, m_grantedBandwidthTemp, m_lastGrantTime, and ns3::Seconds().
Here is the call graph for this function:| ns3::ServiceFlowRecord::~ServiceFlowRecord | ( | ) |
Definition at line 32 of file service-flow-record.cc.
| uint32_t ns3::ServiceFlowRecord::GetBacklogged | ( | ) | const |
Definition at line 223 of file service-flow-record.cc.
References m_backlogged.
| uint32_t ns3::ServiceFlowRecord::GetBackloggedTemp | ( | ) | const |
Definition at line 241 of file service-flow-record.cc.
References m_backloggedTemp.
| uint32_t ns3::ServiceFlowRecord::GetBwSinceLastExpiry | ( | ) | const |
Definition at line 259 of file service-flow-record.cc.
References m_bwSinceLastExpiry.
| uint32_t ns3::ServiceFlowRecord::GetBytesRcvd | ( | ) | const |
Definition at line 139 of file service-flow-record.cc.
References m_bytesRcvd.
| uint32_t ns3::ServiceFlowRecord::GetBytesSent | ( | ) | const |
Definition at line 121 of file service-flow-record.cc.
References m_bytesSent.
| Time ns3::ServiceFlowRecord::GetDlTimeStamp | ( | ) | const |
Definition at line 67 of file service-flow-record.cc.
References m_dlTimeStamp.
| uint32_t ns3::ServiceFlowRecord::GetGrantedBandwidth | ( | ) | const |
Definition at line 175 of file service-flow-record.cc.
References m_grantedBandwidth.
| uint32_t ns3::ServiceFlowRecord::GetGrantedBandwidthTemp | ( | ) | const |
Definition at line 193 of file service-flow-record.cc.
References m_grantedBandwidthTemp.
| uint32_t ns3::ServiceFlowRecord::GetGrantSize | ( | ) | const |
Definition at line 43 of file service-flow-record.cc.
References m_grantSize.
Referenced by ns3::BSSchedulerRtps::BSSchedulerUGSConnection().
Here is the caller graph for this function:| Time ns3::ServiceFlowRecord::GetGrantTimeStamp | ( | ) | const |
Definition at line 55 of file service-flow-record.cc.
References m_grantTimeStamp.
| Time ns3::ServiceFlowRecord::GetLastGrantTime | ( | ) | const |
Definition at line 205 of file service-flow-record.cc.
References m_lastGrantTime.
| uint32_t ns3::ServiceFlowRecord::GetPktsRcvd | ( | ) | const |
Definition at line 103 of file service-flow-record.cc.
References m_pktsRcvd.
| uint32_t ns3::ServiceFlowRecord::GetPktsSent | ( | ) | const |
Definition at line 85 of file service-flow-record.cc.
References m_pktsSent.
| uint32_t ns3::ServiceFlowRecord::GetRequestedBandwidth | ( | ) | const |
Definition at line 157 of file service-flow-record.cc.
References m_requestedBandwidth.
increase backlogged
| backlogged | the number of backlogged to update |
Definition at line 217 of file service-flow-record.cc.
References ns3::Create(), and m_backlogged.
Here is the call graph for this function:increase temporary back logged
| backloggedTemp | the temporary backlogged value |
Definition at line 235 of file service-flow-record.cc.
References ns3::Create(), and m_backloggedTemp.
Here is the call graph for this function:set backlogged
| backlogged | number of backlogged |
Definition at line 211 of file service-flow-record.cc.
References ns3::Create(), and m_backlogged.
Here is the call graph for this function:set temporary back logged
| backloggedTemp | the temporary backlogged value |
Definition at line 229 of file service-flow-record.cc.
References ns3::Create(), and m_backloggedTemp.
Referenced by ns3::UplinkSchedulerMBQoS::CheckMinimumBandwidth().
Here is the call graph for this function:
Here is the caller graph for this function:set BW since last expiry
| bwSinceLastExpiry | bandwidth since last expiry |
Definition at line 247 of file service-flow-record.cc.
References ns3::Create(), and m_bwSinceLastExpiry.
Here is the call graph for this function:Set the number of received bytes.
| bytesRcvd | the number of received bytes |
Definition at line 127 of file service-flow-record.cc.
References ns3::Create(), and m_bytesRcvd.
Here is the call graph for this function:Set the number of sent bytes.
| bytesSent | the number of sent bytes |
Definition at line 109 of file service-flow-record.cc.
References ns3::Create(), and m_bytesSent.
Here is the call graph for this function:Set the DlTimeStamp.
| dlTimeStamp | time when this service flow's traffic was last sent. |
Definition at line 61 of file service-flow-record.cc.
References ns3::Create(), and m_dlTimeStamp.
Here is the call graph for this function:set the granted bandwidth
| grantedBandwidth | the granted bandwidth |
Definition at line 163 of file service-flow-record.cc.
References ns3::Create(), and m_grantedBandwidth.
Here is the call graph for this function:set the temporary granted bandwidth
| grantedBandwidthTemp | the temporary granted bandwidth |
Definition at line 181 of file service-flow-record.cc.
References ns3::Create(), and m_grantedBandwidthTemp.
Here is the call graph for this function:Set the grant size (only for UGS service flows)
| grantSize | the grant size to set |
Definition at line 37 of file service-flow-record.cc.
References ns3::Create(), and m_grantSize.
Here is the call graph for this function:Set the grant time stamp.
Used for data allocation for ugs flows, and unicast poll (bw request) for non-UGS flows
| grantTimeStamp | the grant time stamp to set |
Definition at line 49 of file service-flow-record.cc.
References ns3::Create(), and m_grantTimeStamp.
Here is the call graph for this function:set last grant time
| grantTime | grant time to set |
Definition at line 199 of file service-flow-record.cc.
References ns3::Create(), and m_lastGrantTime.
Here is the call graph for this function:Set the number of received packets.
| pktsRcvd | The number of received packets |
Definition at line 91 of file service-flow-record.cc.
References ns3::Create(), and m_pktsRcvd.
Here is the call graph for this function:set the number of sent packets in this service flow
| pktsSent | the number of sent packets |
Definition at line 73 of file service-flow-record.cc.
References ns3::Create(), and m_pktsSent.
Here is the call graph for this function:set the requested bandwidth
| requestedBandwidth | the requested bandwidth |
Definition at line 145 of file service-flow-record.cc.
References ns3::Create(), and m_requestedBandwidth.
Here is the call graph for this function:update BW since last expiry
| bwSinceLastExpiry | bandwidth since last expiry |
Definition at line 253 of file service-flow-record.cc.
References ns3::Create(), and m_bwSinceLastExpiry.
Referenced by ns3::UplinkSchedulerMBQoS::UplinkSchedWindowTimer().
Here is the call graph for this function:
Here is the caller graph for this function:update the number of received bytes by adding bytesRcvd
| bytesRcvd | the number of bytes to add |
Definition at line 133 of file service-flow-record.cc.
References ns3::Create(), and m_bytesRcvd.
Here is the call graph for this function:update the number of sent bytes by adding bytesSent
| bytesSent | the number of bytes to add |
Definition at line 115 of file service-flow-record.cc.
References ns3::Create(), and m_bytesSent.
Here is the call graph for this function:update the granted bandwidth
| grantedBandwidth | the granted bandwidth update |
Definition at line 169 of file service-flow-record.cc.
References ns3::Create(), and m_grantedBandwidth.
Here is the call graph for this function:update the temporary granted bandwidth
| grantedBandwidthTemp | the temporary granted bandwidth |
Definition at line 187 of file service-flow-record.cc.
References ns3::Create(), and m_grantedBandwidthTemp.
Here is the call graph for this function:update the number of received packets by adding pktsRcvd
| pktsRcvd | the number of received packets to add |
Definition at line 97 of file service-flow-record.cc.
References ns3::Create(), and m_pktsRcvd.
Referenced by ns3::SubscriberStationNetDevice::DoReceive().
Here is the call graph for this function:
Here is the caller graph for this function:update the number of sent packets by adding pktsSent
| pktsSent | the number of sent packets to add |
Definition at line 79 of file service-flow-record.cc.
References ns3::Create(), and m_pktsSent.
Referenced by ns3::SubscriberStationNetDevice::SendBurst().
Here is the call graph for this function:
Here is the caller graph for this function:update the requested bandwidth
| requestedBandwidth | the requested bandwidth update |
Definition at line 151 of file service-flow-record.cc.
References ns3::Create(), and m_requestedBandwidth.
Here is the call graph for this function:
|
private |
back logged
Definition at line 242 of file service-flow-record.h.
Referenced by ServiceFlowRecord(), GetBacklogged(), IncreaseBacklogged(), and SetBacklogged().
|
private |
back logged temp
Definition at line 243 of file service-flow-record.h.
Referenced by ServiceFlowRecord(), GetBackloggedTemp(), IncreaseBackloggedTemp(), and SetBackloggedTemp().
|
private |
bandwidth granted since last expiry of minimum reserved traffic rate interval, only for nrtPS, to make sure minimum reserved traffic rate is maintained
Definition at line 240 of file service-flow-record.h.
Referenced by GetBwSinceLastExpiry(), SetBwSinceLastExpiry(), and UpdateBwSinceLastExpiry().
|
private |
bytes received
Definition at line 231 of file service-flow-record.h.
Referenced by GetBytesRcvd(), SetBytesRcvd(), and UpdateBytesRcvd().
|
private |
bytes sent
Definition at line 230 of file service-flow-record.h.
Referenced by GetBytesSent(), SetBytesSent(), and UpdateBytesSent().
|
private |
time when this service flow's traffic was last sent
Definition at line 224 of file service-flow-record.h.
Referenced by GetDlTimeStamp(), and SetDlTimeStamp().
|
private |
granted badnwidth
Definition at line 234 of file service-flow-record.h.
Referenced by GetGrantedBandwidth(), SetGrantedBandwidth(), and UpdateGrantedBandwidth().
|
private |
Temporary variable used to sort list.
Necessary to keep original order
Definition at line 235 of file service-flow-record.h.
Referenced by ServiceFlowRecord(), GetGrantedBandwidthTemp(), SetGrantedBandwidthTemp(), and UpdateGrantedBandwidthTemp().
|
private |
only used for UGS flow
Definition at line 221 of file service-flow-record.h.
Referenced by GetGrantSize(), and SetGrantSize().
|
private |
allocation (for data) for UGS flows and unicast poll (for bandwidth requests) for non-UGS flows
Definition at line 222 of file service-flow-record.h.
Referenced by GetGrantTimeStamp(), and SetGrantTimeStamp().
|
private |
last grant time
Definition at line 241 of file service-flow-record.h.
Referenced by ServiceFlowRecord(), GetLastGrantTime(), and SetLastGrantTime().
|
private |
packets received
Definition at line 228 of file service-flow-record.h.
Referenced by GetPktsRcvd(), SetPktsRcvd(), and UpdatePktsRcvd().
|
private |
packets sent
Definition at line 227 of file service-flow-record.h.
Referenced by GetPktsSent(), SetPktsSent(), and UpdatePktsSent().
|
private |
requested bandwidth
Definition at line 233 of file service-flow-record.h.
Referenced by GetRequestedBandwidth(), SetRequestedBandwidth(), and UpdateRequestedBandwidth().