Determining the Instantaneous Time

"Siva Sivavakeesar" <[email protected]>
Newsgroups gmane.linux.drivers.ipw2100.devel
Message-ID <[email protected]>
Hello there,

I wish to determine at the MAC-level (i.e., in ieee80211_tx.c) exactly
at what point in time a given packet is queued up for transmission
with a precision of nanoseconds. In order to determine the
instantaneous time, what is the best tool available as I do not think
that I can use gettimeofday() at the kernel level as it requires
sys/time.h.

Please shed some light on this as early as you can.

Thanks in advance for taking your invaluable time to answer my question.

Cheers

Siva

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.