2009/8/10 Omprakash Gnawali <[email protected]> > On Mon, Aug 10, 2009 at 7:14 AM, Rémi Villé<[email protected]> wrote: > > 2009/8/6 Rémi Villé <[email protected]> > >> > >> 2009/8/6 Rémi Villé <[email protected]> > >>> > >>> Hi, > >>> > >>> I would like to count the number of transmissions/retransmissions > during > >>> a simulation with TOSSIM. > >>> For now, I only need to write this count on stdout using gdb(), but I > >>> dont know where is the ideal place to add it, I would like to estimate > the > >>> number of (re)transmissions with as much accuracy as possible. > >>> > >>> Thanks, > >>> > >>> Rémi > >> > >> It's dbg(). > > > > I must do that because I have modified the CtpRoutingEngine to use node > to > > node similarity, and if I count the number of transmission using only > > Send.sendDone (of CollectionC.CollectionSenderC), I have not the total > > number of retransmission/retransmission... > > You can put your debug statements in the AM layer. > > - om_p >
I didn't find exactly where to put the dbg statement in the AM layer yet, but maybe it would be a better idea to measure the data throughput (packets per second delivered) in the java application, it may be equivalent and costless for nodes in a future real deployment test.
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
