Hi Philip
Im trying to measure the time that a packet required to be received by the
destination. So roughly saying packet propagation time.
For complete packet propagation, i assume i have to consider lots of things, so
at the moment i was looking only the time delay between sendDone() and
receive() by using global simulator time.
Regards
Faisal
----- Original Message ----
From: Philip Levis <[EMAIL PROTECTED]>
To: Faisal Karim <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [email protected]
Sent: Monday, April 2, 2007 9:35:10 PM
Subject: Re: [Tinyos-help] sendDone() called before receive
On Apr 2, 2007, at 11:40 AM, Faisal Karim wrote:
> Hi Bibudh n all
>
> Im using at the moment TOSSIM for delay calculations and not using
> real motes.
> Therefore for delay calculation, truly i didnt think of time
> synchronization coz i was considering the global times ie
> tos_state.tos_time so i was assuming that subtracting the time of
> sendDone() from time of receive will give me some approximated form
> of delay time at the global simulator time.
What exactly are you trying to measure? Time from send() to receive
()? CPU processing time of the packet? Packet propagation time? MAC
backoff? Queue occupancy time?
> Second option can be to use -b=0 option of simulator to boot all
> nodes at same time to have some sort of sync.
> Any comments on this
Don't do it: CSMA will break in horrible ways.
Phil
____________________________________________________________________________________
Don't get soaked. Take a quick peek at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help