c++ - end to end delay in Veins -


i want calculate end-to-end delay in veins example scenario.

i have read old mails related topic don't provide real solution problem.

i used getcreationtime() , simtime() functions. resulting delay 1.70*10^-4.

this delay doesn't make sense me. supposed more. need @ point. take creation time of macpkt using mackpkt->creationtime() function , extract simtime() calculating end-to-end delay. however, doesn't make sense.

i guess macpkt not packet created transmitter. need creation time of packet @ transmitter side. can me? calculating end end delay problem of many users. hope question many users.

you can use ‘timestamp‘ field of ‘waveshortmessage‘ store creation time, use field @ receiver calculate delay. if use own messages, add field of own.


Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -