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 <[email protected]>

> 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 : [email protected], [email protected]
>



-- 
DaeHee(Danny) Kim
Department of Electrical Engineering and Computer Science(EECS), Wichita
State University
Cell Phone : 1-607-321-9574
email-address : [email protected], [email protected]
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to