答复: [Tinyos-help] could i use TosSim to obtain the code runing time?
yuxiaojie
yuxiaojie9 at 163.com
Thu Jan 10 22:07:04 PST 2008
Thanks Tal, I can use PowerTOSSIM to obtain power consumption, but how to obtain code execution time? Do you have any ideas?
-----邮件原件-----
发件人: Tal Rusak [mailto:tr76 at cornell.edu]
发送时间: 2008年1月11日 13:23
收件人: ÓàÏþ½Ý
抄送: tinyos-help at millennium.berkeley.edu
主题: Re: [Tinyos-help] could i use TosSim to obtain the code runing time?
Hi,
There have been tools to model power consumption. For example, see
http://www.eecs.harvard.edu/~shnayder/ptossim/
http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2007-November/029378.html
Thanks,
Tal
> I don't have any mote, so I use TosSim to do simulating, Now I need to
> meature the my code running time and energy consumption. But I find some
> pieces in TOSSIM: A Simulator for TinyOS Networks.
>
> "Time: While TOSSIM precisely times interrupts (allowing things like
> bit-level radio simulation), it does not model execution time."
> "Because TOSSIM does not model CPU execution time, it cannot easily
> provide accurate information for calculating CPU energy consumption."
>
> So does it mean I can't meature code running time without a real hardware
> mote? I am using tinyos 1.1.15 now, does 2.x support execution time
> meaturing or energy
> consumption?_______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
More information about the Tinyos-help
mailing list