Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2003-11-14 (12:23)
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 Archives:
Bug reports: FAQ:
Beginner's list: