[Tinyos-help] Virtual time
Eric Decker
cire831 at gmail.com
Mon May 18 11:12:55 PDT 2009
The time is actually binary millisecs, 1024 ticks = 1 sec.
On Mon, May 18, 2009 at 8:42 AM, moadsofiane <moadsofiane at voila.fr> wrote:
> Hi,
> I a am using tinysOs-1.x and would like please to know how to print the
> virtaul time.
> I use the interface Timer.
> I have read in nido that tos_state.tos_time give the time but it is not
> precise.
> For exemple, when my timer fire (every 10 000 000 milliseconds) the
> (tos_state.tos_time/4000000) give me times close to 10 000 secondes( time
> =9995 senconds , time =10 0007 sencodes).
> How can I print the exact virtual time? and why it don't print numbers
> mutiple to 10 000 000?
> Best regards,
> Sofiane
>
>
> ____________________________________________________
>
> Ecoutez le dernier single de Franz Ferdinand sur Musiline Voila
> http://musiline.voila.fr
>
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
--
Eric B. Decker
Senior (over 50 :-) Researcher
Autonomous Systems Lab
Jack Baskin School of Engineering
UCSC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090518/6b533e19/attachment.htm
More information about the Tinyos-help
mailing list