how to measure energy efficiency, latency and packet delivery ratio in contiki os? -


recently have started working on contiki os. trying analyze few parameters energy efficiency, latency, delivery ratio etc different deployment scenarios. using telosb hardware platform.

could please suggest me how calculate energy efficiency, latency, delivery ratio in contiki os?

are there sample codes available, can used obtain these parameters ?

as watou suggests, powertrace first tool try. app can find alredy in contiki installation , runs , effectively. can give power consuption information (or more specifically, tx/rx/cpu/listen/idle states duration) , sniff packets (then enabling study on power loss , network performance).

to insert in app have to:

1) add powertrace app in makefile (like this),

2) include powertrace.h in main.c file,

3) insert call powertrace_start(clock_second * your_interval) print statistic periodically or put powertrace_print("your label"); within code.

finally, if want navigate further should put sensing onto circuit.


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -