The time is actually binary millisecs, 1024 ticks = 1 sec. On Mon, May 18, 2009 at 8:42 AM, moadsofiane <[email protected]> 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 > [email protected] > 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
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
