[ofa-general] Problem while running ib tests

Moni Shoua monis at Voltaire.COM
Wed Sep 23 08:43:12 PDT 2009


> 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.




More information about the general mailing list