I use the command getNow() provided by TimerMilliC, and I can get an integer number.
What is the time unit?


----- Original Message ----- From: "Shen Ke" <[EMAIL PROTECTED]>
To: "Hui Kang" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Thursday, January 25, 2007 1:16 PM
Subject: Re: [Tinyos-help] How to get computational time of a function intinyos1.x


Which directory is it in? Isn't it a tinyos2.0 component?
Thanks.

----- Original Message ----- From: "Hui Kang" <[EMAIL PROTECTED]>
To: "Shen Ke" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Thursday, January 25, 2007 1:09 PM
Subject: Re: [Tinyos-help] How to get computational time of a function in tinyos1.x


Shen Ke wrote:
Hi,
I want to get the computational(running) time of a function written by
myself. I'm developing under tinyos1.x.
Thanks for any help.




------------------------------------------------------------------------

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

I think you can use TimerMilliC to get the time before
and after you run the task.

Regards,
Hui Kang


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


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

Reply via email to