[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] Average One-Way delay computation



I want to calculate the average one-way delay from one source to one
destination for a certain flow. Looking at the complete trace file I find
the whole information and I could extract using awk.
Basically, for each packet of a certain flow, I need to take the simulation
time of the receiving event for destination, take the simulation time of the
enqueing event for the source, subtract. Then I need to make compute the
average time among the whole packets of the flow.

There is any easiest solution I can apply at  simulation run-time based on
monitor?

Thanks

Sergio