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

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to