netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Accessing time
@ 2004-03-25 19:41 Abhinav Gupta
  2004-03-25 20:35 ` chas williams (contractor)
  0 siblings, 1 reply; 3+ messages in thread
From: Abhinav Gupta @ 2004-03-25 19:41 UTC (permalink / raw)
  To: netdev, linux-net

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.

Abhinav.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Accessing time
@ 2004-03-25 19:41 Abhinav Gupta
  0 siblings, 0 replies; 3+ messages in thread
From: Abhinav Gupta @ 2004-03-25 19:41 UTC (permalink / raw)
  To: netdev, linux-net

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.

Abhinav.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Accessing time
  2004-03-25 19:41 Abhinav Gupta
@ 2004-03-25 20:35 ` chas williams (contractor)
  0 siblings, 0 replies; 3+ messages in thread
From: chas williams (contractor) @ 2004-03-25 20:35 UTC (permalink / raw)
  To: gupta; +Cc: netdev, linux-net

In message <406335D0.2090308@cs.ucalgary.ca>,Abhinav Gupta writes:
>Can anyone please give me pointers to accessing system time? I need to 

do_gettimeofday()?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-03-25 20:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-25 19:41 Accessing time Abhinav Gupta
  -- strict thread matches above, loose matches on Subject: below --
2004-03-25 19:41 Abhinav Gupta
2004-03-25 20:35 ` chas williams (contractor)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).