You don't need to do that. If you are measuting hops, you can just
trace the packets by their IDs and increment the hop count as
necessary (which is what I'd do in tests with actual nodes). Since you
are using TOSSIM, you can print a time string from the simulator if
you wish to measure time, and not hops. But as synchronizing is not
the easiest thing in life, hop counts are a much simpler and no less
reliable way to evaluate the average delay than delay itself. (Of
course, if you wish to relate hop count x time, you can do both and
get an average delay per hop).

2007/8/29, Paul <[EMAIL PROTECTED]>:
> Do you mean using the SysTimerC and print out the time when a packet is sent
> at the app layer, and print out again when it is received at the sink node?
> But this requires network time synchronization ? Please advice.
>
>  Thanks.
>
>
> On 8/30/07, Bernardo Avila Pires <[EMAIL PROTECTED]> wrote:
> > I usually use python scripts to process the trace files and deduce the
> > hop numbers by redoing the trajectory for each packet.
> >
> > 2007/8/29, Paul <[EMAIL PROTECTED]>:
> > > Hi all
> > >
> > > I am using TOSSIM to simulate multihop surge application. I need to
> measure
> > > the end-to-end packet delay. I already have a Surge Listen java tools to
> > > measure the throughput.
> > >
> > > Please share with me your experience on this.
> > >
> > > Thanks.
> > >
> > > --
> > > Cheers,
> > > Paul
> > > _______________________________________________
> > > Tinyos-help mailing list
> > > [email protected]
> > >
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> > >
> >
> >
> > --
> > "The truth shall set you free"
> >
>
>
>
> --
> Cheers,
> Paul


-- 
"The truth shall set you free"
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to