[Tinyos-help] How can I measure computation time in Tossim properly ?
Daehee Kim
dahkim77 at gmail.com
Mon Dec 29 21:35:44 PST 2008
Hi. Everyone
How can I measure computation time in Tossim properly ?
As I mentioned followings, the time difference between computations was same
although the computation 100^3.
I used "LocalTime.get()" to get time.
Are there any settings that I have to reconfigure in TinyOS to measure
computation time properly ?
Thanks.
Danny
2008/12/26 Daehee Kim <dahkim77 at gmail.com>
> Hi.
>
> I am using TinyOS 2.0.2, TOSSIM, Micaz.
> I am trying to measure computation time in each node by using TOSSIM (for
> example such as M^3 computation)
>
> // Here, measured current time.. (Before computation)
>
> for ... (100 loop)
> for ... (100 loop)
> for .... (100 loop)
>
> // Here, measured current time... (After computation)
>
> I expected the time between before computation and after computation will
> be different (at least hundreds of milliseconds...)
>
> I used "LocalTime.get()" as well as "sim_time_string()" in order to get the
> time.
> However, irrespective of number of loop, the times which were measured at
> both case (before, after) was same.
>
> I don't understand why two time becomes same. Does TinyOS simulate micaz in
> TOSSIM correctly ?
> I would very apprecaite any help.
>
> Thanks.
>
> Danny..
>
>
> --
> DaeHee(Danny) Kim
> Department of Electrical Engineering and Computer Science(EECS), Wichita
> State University
> Cell Phone : 1-607-321-9574
> email-address : dxkim3 at wichita.edu, dahkim77 at gmail.com
>
--
DaeHee(Danny) Kim
Department of Electrical Engineering and Computer Science(EECS), Wichita
State University
Cell Phone : 1-607-321-9574
email-address : dxkim3 at wichita.edu, dahkim77 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20081229/aa73ca14/attachment.htm
More information about the Tinyos-help
mailing list