Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Profiling a function execution
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Ville-Pertti Keinonen <will@e...>
Subject: Re: [Caml-list] Profiling a function execution
On Thu, Nov 13, 2003 at 05:53:01PM -0600, Brian Hurt wrote:

> Clocks on computers have a 10ms quantiziation- i.e., they measure 
> everything as multiples of 10 milliseconds.  All measurements are accurate 

No they don't, hardware timers usually run at at more than a MHz.  Most
operating systems provide interfaces with limited precision (this usually
varies between 100 and 1000 Hz), but on systems that actually read the
clock and don't just count interrupts, getrusage is much more accurate
than times.

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners