[Python-Dev] collecting timer resolution information...

Fred L. Drake, Jr. fdrake@acm.org
Tue, 26 Jun 2001 16:01:41 -0400 (EDT)


  I'd like people to run the attached C program and send the output to
me.  What this does is run the gettimeofday() and getrusage()
functions until the time values change.  The intent is to determine
the quality of the available timing information.
  For example, on my Linux-Mandrake 7.2 installation with a stock
2.2.17 kernel, I get this:

timeofday: 1 (1 calls), rusage: 10000 (2465 calls)

  Thanks!


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Digital Creations