Re: [Tinyos-help] Power profiling for MicaZ nodes

2010-12-06 Thread Urs Hunkeler
Hi, I think it should be possible to modify Avrora to simulate also clock drift. Maybe the effort of doing so would be smaller than measure the exact execution times on a real mote. Whether you'll need to dig deep into TinyOS or whether it'll be enough to do this at the application level

[Tinyos-help] Power profiling for MicaZ nodes

2010-12-05 Thread Aylin Kantarci
Hello, We have MicaZ motes. We want to measure power consumption of our clock synchronization code by software. We want to do this by measuring the duration a componrnt is switched on. Is doing this in our code sufficient, or should we do this in the whole TÄ°nyOS source code. If this is the case

Re: [Tinyos-help] Power profiling for MicaZ nodes

2010-12-05 Thread Urs Hunkeler
Hi, The Avrora project does cycle-accurate simulations of programs running on MicaZ and should give you a good estimation of the power consumption of your programs. http://compilers.cs.ucla.edu/avrora/ If you want to do your own measurements, I think both Avrora and PowerTOSSIM did

Re: [Tinyos-help] Power profiling for MicaZ nodes

2010-12-05 Thread Aylin Kantarci
Thanks for your help. I examined Avrora. As far as I have seen, it is useful before porting the app. to the actual nodes. However, we want to measure the energy on actual nodes by software. We are working on clock synchronization and my assistan says that it is not possible to test our program