[Avrora] performance analysis

Benjamin Titzer titzer at CS.UCLA.EDU
Thu Jan 4 10:55:45 PST 2007


> Hi ALL
>
> I like to know how to obtain performance statistics such as packet delay,
> throughput and packet delivery after simulation. How do I retrieve these
> variables in my tinyos codes?
>
> I read about PacketMonitor, but it doesnt captured the number of packets
> received.

PacketMonitor is just a demonstration of what can be done with the probing 
infrastructure for the radio. Unfortunately, the probing infrastructure 
doesn't allow inspection of receives of individual bytes, due to the way 
the CC1000 is always pumping data into the microcontroller in listen mode.

Also, because "packets" are a software-level concept (and only 
approximated in the packet monitor), it might be necessary to instrument 
the actual microcontroller program using the code and data probes system 
to determine when the software "thinks" it has sent or received a packet. 
This can be done without altering the source code of the program or the 
simulator.

-B


More information about the Avrora mailing list