[Tinyos-help] sendDone() called before receive

Faisal Karim shaikh_fk at yahoo.com
Mon Apr 2 12:49:24 PDT 2007


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 <pal at cs.stanford.edu>
To: Faisal Karim <shaikh_fk at yahoo.com>
Cc: bibudh at gmail.com; bcmadore at cs.pitt.edu; tinyos-help at Millennium.Berkeley.EDU
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070402/289fbb8e/attachment.htm


More information about the Tinyos-help mailing list