[openib-general] Re: ANNOUNCE: First usable version of userspace verbs

Roland Dreier roland at topspin.com
Tue Mar 1 15:22:30 PST 2005


    mst> but I also changed the clock sampling to use the realtime
    mst> clock from -lrt, since it gives a more consistent timing
    mst> results on my system.

By the way, what exactly are you using?  clock_gettime() with
CLOCK_REALTIME?  Do you know what the difference from gettimeofday is?

I haven't followed Linux timekeeping development too closely but there
should be some portable libc way to get high-resolution time without a
system call (ie rdtsc on x86, mftb on ppc, etc).  

 - R.



More information about the general mailing list