[Tinyos-help] End-to-end delay in TOSSIM

Philip Levis pal at cs.stanford.edu
Mon Sep 12 16:17:09 PDT 2005

On Tue, 2005-09-13 at 00:59 +0530, Pavan E. wrote:
> Hi,
> I have been using TOSSIM for quite sometime now and am being bugged
> by the following question. Could someone please answer this?
> Suppose mote X transmits a message to mote Y via a "multihop" path.
> The value of the tos_state.tos_time variable just before the Send by X 
> is t1 and
> after Receive by Y is t2. Is t2-t1 equal to the end-to-end delay for the 
> message?
> If not, how does one calculate end-to-end delays for an application that 
> someone
> has simulated?
> The question arises because I suspect that t2-t1 is more related to the 
> number of
> simulator ticks that occur in between the Send and the Receive rather 
> than to
> the transmission time (which TOSSIM AFAIK does not model).

Standard TOSSIM most definitely models transmission time. It models the
timing of each bit sent out over the wireless channel. Your method of
measuring e2e delay is correct.


More information about the Tinyos-help mailing list