[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] Question about trace file and delay calculation
Hi all,
I'm using ns-allinone-2.1b7a and when I run a MIP simulation I obtain a very long trace file that contains something like this:
+ 0 0 1 tcp 1000 ------- 1 0.0 3.2 0 0
- 0 0 1 tcp 1000 ------- 1 0.0 3.2 0 0
v 0.0001 link-down 2 3
v 0.0001 link-down 3 2
r 0.009 0 1 tcp 1000 ------- 1 0.0 3.2 0 0
+ 0.009 1 3 tcp 1000 ------- 1 0.0 3.2 0 0
- 0.009 1 3 tcp 1000 ------- 1 0.0 3.2 0 0
r 0.018 1 3 tcp 1000 ------- 1 0.0 3.2 0 0
+ 0.018 3 1 ack 40 ------- 1 3.2 0.0 0 1
- 0.018 3 1 ack 40 ------- 1 3.2 0.0 0 1
r 0.02316 3 1 ack 40 ------- 1 3.2 0.0 0 1
+ 0.02316 1 0 ack 40 ------- 1 3.2 0.0 0 1
- 0.02316 1 0 ack 40 ------- 1 3.2 0.0 0 1
r 0.02832 1 0 ack 40 ------- 1 3.2 0.0 0 1
+ 0.02832 0 1 tcp 1000 ------- 1 0.0 3.2 1 2
......................
Could you tell me what those fields mean?
And whith this, which is the best and fastest way to calculate the delay?
Thank you in advance.
- 0.02832 0 1 tcp 1000 ------- 1 0.0 3.2 1 2
+ 0.02832 0 1 tcp 1000 ------- 1 0.0 3.2 2 3