time.clock() and precision...

Lurker lurker at pobox.comNOSPAM
Fri Aug 11 22:48:05 EDT 2000


I am writing some code that does some timing. I am writing it for both a
MS-Windows machine and a GNU/Linux box (RH 6.2).

Problem: the precision of the time.clock() function is fine on
MS-Windows,
	 but not on GNU/Linux where it is only precises to 0.01 seconds.

I am working in milliseconds. Is there a way to get the precision I
need???

-- 
- Todd Warner -
  Staff Sergeant:    US Army Tank Commander (HOOAH!!!)
  Senior CS student: Wright State University
  mailto:            taw at pobox.com



More information about the Python-list mailing list