Need higher resolution times for linpack benchmark

N.M. Maclaren nmm1@cam.ac.uk
Fri Dec 11 22:49:00 GMT 2009


On Dec 11 2009, Tim Prince wrote:
>> 
>Not to be confused with high precision timer implemented in some cases 
>on Windows, this should be capable of resolution within a microsecond on 
>linux. OpenMP omp_get_wtime() is likely to be implemented similar to this.

Dittor MPI_Wtime.  It needs only a POSIX interface, but I have no idea
whether that is available on Microsoft systems.

>cpu_time still has only 10 millisecond resolution on common systems, and 
>usually measures total cpu time of all threads, skipping idle periods, 
>so in general it is a completely different measurement from elapsed time.

Yes.  If you can explain why CPU time is STILL measured in 10 millisecond
units, 40+ years after that unit was introduced, I should be fascinated
to hear.  The utterly ridiculous thing is that many systems use a much more
precise timer to calculate it, and often even store it in more precision,
yet reduce the accuracy when returning the result to the application.

It's demented.  Just like the way that shifts use only some bits of the
shift length, 50+ years after the last discrete logic computer was sold.

Regards,
Nick Maclaren.




More information about the Fortran mailing list