Time message

From: Eric tse (hfetse@hotmail.com)
Date: Wed Aug 09 2000 - 11:10:55 EST


Dear all,

I am doing some testing of packets flowing.
In the kernel program. what function should I type so that I can
get time of the packets start time and last recieved time.

I was thinking of using those "gettimeofday" functions..
what is those funcitons called in Linux System??
which libraries should I include to support the time functions??

and I am thinking of printing out the those times as well for analysis using
printk. However I have so many other debugging messages as well.
They are using printk as well. I would like to ask how can I separate
out the debugging messages, the time messages one files, say,
/var/log/time.. and the other /var/log/other??

Thanks a lot in advance

Eric
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:18 EST