[Top] [All Lists]

Accessing time

To: netdev@xxxxxxxxxxx, linux-net@xxxxxxxxxxxxxxx
Subject: Accessing time
From: Abhinav Gupta <gupta@xxxxxxxxxxxxxxxx>
Date: Thu, 25 Mar 2004 12:41:04 -0700
Organization: University of Calgary
Reply-to: gupta@xxxxxxxxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
Can anyone please give me pointers to accessing system time? I need to timestamp each tcp-packet that I receive over the network. I have tried using sys_gettimeoftheday() but due to frequent calls, the function doesn't always return a correct return value.

Thanks in advance.


<Prev in Thread] Current Thread [Next in Thread>