EMANE
1.2.1
|
R2RI neighbor metrics are used in conjunction with the R2RINeighborMetricControlMessage to inform an NEM's transport layer of MAC neighbor state. More...
#include <r2rineighbormetric.h>
Public Member Functions | |
R2RINeighborMetric (NEMId id, std::uint64_t u64NumRxFrames, std::uint64_t u64NumTxFrames, std::uint64_t u64NumMissedFrames, const Microseconds &bandwidthConsumption, float fSINRAvgdBm, float fSINRStddev, float fNoiseFloorAvgdBm, float fNoiseFloorStddev, std::uint64_t u64RxAvgDataRatebps, std::uint64_t u64TxAvgDataRatebps) | |
~R2RINeighborMetric () | |
NEMId | getId () const |
std::uint64_t | getNumRxFrames () const |
std::uint64_t | getNumTxFrames () const |
std::uint64_t | getNumMissedFrames () const |
const Microseconds & | getBandwidthConsumption () const |
float | getSINRAvgdBm () const |
float | getSINRStddev () const |
float | getNoiseFloorAvgdBm () const |
float | getNoiseFloorStddev () const |
std::uint64_t | getRxAvgDataRatebps () const |
std::uint64_t | getTxAvgDataRatebps () const |
R2RI neighbor metrics are used in conjunction with the R2RINeighborMetricControlMessage to inform an NEM's transport layer of MAC neighbor state.
Definition at line 53 of file r2rineighbormetric.h.
|
inline |
Creates an R2RINeighborMetric
id | Neighbor NEM id |
u64NumRxFrames | Number of frames received from the neighbor |
u64NumTxFrames | Number of frames sent to the neighbor |
u64NumMissedFrames | Number of frames missed from the neighbor |
bandwidthConsumption | Bandwidth consumption in microseconds |
fSINRAvgdBm | Average SINR from neighbor in dBm |
fSINRStddev | Standard deviation SINR from neighbor |
fNoiseFloorAvgdBm | Average noise floor from neighbor in dBm |
fNoiseFloorStddev | Standard deviation noise floor from neighbor |
u64RxAvgDataRatebps | Average Rx datarate from neighbor bps |
u64TxAvgDataRatebps | Average Tx datarate to neighbor bps |
Definition at line 34 of file r2rineighbormetric.inl.
|
inline |
Destroys an instance
Definition at line 59 of file r2rineighbormetric.inl.
|
inline |
Gets the bandwidth consumption over the report interval
Definition at line 86 of file r2rineighbormetric.inl.
|
inline |
|
inline |
Gets the average noise floor over the report interval
Definition at line 104 of file r2rineighbormetric.inl.
|
inline |
Gets the noise floor standard deviation over the report interval
Definition at line 110 of file r2rineighbormetric.inl.
|
inline |
Gets the number of frames missed during the report interval
Definition at line 80 of file r2rineighbormetric.inl.
|
inline |
Gets the number of frames received during the report interval
Definition at line 68 of file r2rineighbormetric.inl.
|
inline |
Gets the number of frames transmitted during the report interval
Definition at line 74 of file r2rineighbormetric.inl.
|
inline |
Gets the average receive datarate in bps over the report interval
Definition at line 116 of file r2rineighbormetric.inl.
|
inline |
Gets the average SINR over the report interval
Definition at line 92 of file r2rineighbormetric.inl.
|
inline |
Gets the SINR standard deviation over the report interval
Definition at line 98 of file r2rineighbormetric.inl.
|
inline |
Gets the average transmit datarate in bps over the report interval
Definition at line 122 of file r2rineighbormetric.inl.