> This whole thing should just be removed. x86-64 linux has a VDSO
> clock_gettime(CLOCK_MONOTONIC) that is fast, doesn't trap into the
> kernel, and doesn't suffer from these problems.
> 
> Jason

In the man page for  clock_gettime() I see that CLOCK_PROCESS_CPUTIME_ID may be 
more accurate for (high) performance measurements. What do you think?


       CLOCK_MONOTONIC
              Clock that cannot be set and  represents  monotonic  time  since
              some unspecified starting point.

       CLOCK_PROCESS_CPUTIME_ID
              High-resolution per-process timer from the CPU.

_______________________________________________
general mailing list
general@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to