riebl / artery

OMNeT++ V2X simulation framework for ETSI ITS-G5
GNU General Public License v2.0
203 stars 131 forks source link

Datarate #210

Closed OverwatchGirl closed 3 years ago

OverwatchGirl commented 3 years ago

Hello @riebl ,

Im trying to get the rate in Radio.cc, of the transmitted packets from each access category queue (BE, BK, VO, VI). Is there any method that calculates the rate ? and what does radioFrame->getDuration().inUnit(SIMTIME_PS) really do ?

Thank you so much for your help, much appreciated.

riebl commented 3 years ago

I think you have to implement the rate calculation on your own as there are many ways to do this: average of the whole simulation time, average of a sliding window, etc.

radioFrame->getDuration().inUnit(SIMTIME_PS) is the duration of a radio frame in picoseconds.

OverwatchGirl commented 3 years ago

Hello,

Thank you for your answer .