Accurate/Fine-grained timing of latency in atheros drivers

Sam Pierson samuel.pierson at gmail.com
Mon Jun 27 21:17:37 GMT 2005


Hey guys,

In a current project, I need to find out exactly how long it takes to send
a 802.11 packet and how much time is spent in the following stages:

send time - time spent constructing message, including context switches
and other delays and the time it takes to transfer the message to the
network card.

access time - delay which we experience waiting to access the transmitting
channel.  Normally this would include the RTS and CTS queuing signals,
but for this application, I have to disable them.  Is it possible that no time
is spent waiting here, if I have disabled the whole CSMA scheme on the
hardware level?

propagation time - how long it takes to get to the receiver, once it has left
our card

receive time - how long it takes for the receiving network card to get the 
message and notify the host that it has something to read.

Am I going to have to put in hardware interrupts to time these events or 
are such tools already available?  

-Sam


More information about the freebsd-hackers mailing list