21 #ifndef SERVICE_FLOW_RECORD_H
22 #define SERVICE_FLOW_RECORD_H
25 #include "ns3/nstime.h"
uint32_t m_requestedBandwidth
void SetBackloggedTemp(uint32_t backloggedTemp)
keep track of time values and allow control of global simulation resolution
void UpdateBwSinceLastExpiry(uint32_t bwSinceLastExpiry)
uint32_t GetRequestedBandwidth(void)
this class implements a structure to manage some parameters and statistics related to a service flow ...
void SetRequestedBandwidth(uint32_t requestedBandwidth)
uint32_t GetBytesRcvd(void) const
void UpdateRequestedBandwidth(uint32_t requestedBandwidth)
void SetGrantedBandwidth(uint32_t grantedBandwidth)
void IncreaseBackloggedTemp(uint32_t backloggedTemp)
void UpdateGrantedBandwidthTemp(uint32_t grantedBandwidthTemp)
uint32_t m_bwSinceLastExpiry
uint32_t m_grantedBandwidth
Time GetGrantTimeStamp(void) const
uint32_t GetBwSinceLastExpiry(void)
void SetGrantTimeStamp(Time grantTimeStamp)
Set the grant time stamp.
void SetGrantSize(uint32_t grantSize)
Set the grant size (only for UGS service flows)
void UpdatePktsRcvd(uint32_t pktsRcvd)
update the number of received packets by adding pktsRcvd
uint32_t GetBackloggedTemp(void) const
uint32_t GetBacklogged(void) const
uint32_t GetPktsRcvd(void) const
uint32_t GetGrantedBandwidthTemp(void)
void SetGrantedBandwidthTemp(uint32_t grantedBandwidthTemp)
Time GetLastGrantTime(void) const
void SetDlTimeStamp(Time dlTimeStamp)
Set the DlTimeStamp.
uint32_t m_grantedBandwidthTemp
Time GetDlTimeStamp(void) const
uint32_t GetGrantSize(void) const
uint32_t GetBytesSent(void) const
void SetBytesRcvd(uint32_t bytesRcvd)
Set the number of received bytes.
void SetBwSinceLastExpiry(uint32_t bwSinceLastExpiry)
void SetLastGrantTime(Time grantTime)
void UpdateGrantedBandwidth(uint32_t grantedBandwidth)
void SetBacklogged(uint32_t backlogged)
uint32_t GetGrantedBandwidth(void)
void UpdateBytesSent(uint32_t bytesSent)
update the number of sent bytes by adding bytesSent
void SetPktsRcvd(uint32_t pktsRcvd)
Set the number of received packet.
void IncreaseBacklogged(uint32_t backlogged)
void SetBytesSent(uint32_t bytesSent)
Set the number of sent bytes.
void UpdatePktsSent(uint32_t pktsSent)
update the number of sent packets by adding pktsSent
void SetPktsSent(uint32_t pktsSent)
set the number of sent packets in this service flow
uint32_t GetPktsSent(void) const
void UpdateBytesRcvd(uint32_t bytesRcvd)
update the number of received bytes by adding bytesRcvd