Hi all,

How should I print the sim time while simulating ? I've used sim_time()
method to achieve the simulation time ( using dbg("Base","time is :
%lu",sim_time()) ) but I cant see more than 5-6 seconds with this(for
example ,until : 6009098890 -10 digits) and after that I see the timer is
reseted again and start from beginning (for example: start again from :
88989988 - 8 digits).

At the same time with using sim_time_string() I can see the time with more
capacity (unitl hours! ) . How can I get the time in "dbg" statement to get
digits like when I use sim_time_string() ?

 

Thanks in advance.

Mojtaba

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to