From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 2B04CBC0A for ; Tue, 27 Feb 2007 19:50:20 +0100 (CET) Received: from mail20.bluewin.ch (mail20.bluewin.ch [195.186.19.65]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l1RIoJpH027264 for ; Tue, 27 Feb 2007 19:50:20 +0100 Received: from [10.0.1.2] (85.2.126.110) by mail20.bluewin.ch (Bluewin 7.3.121) id 45C320C2005D23D8; Tue, 27 Feb 2007 18:50:18 +0000 In-Reply-To: <6dbd4d000702271024w1cabaec6u95aee737b411393e@mail.gmail.com> References: <6dbd4d000702271024w1cabaec6u95aee737b411393e@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <3FDA206F-C220-47D2-B772-57DCF196DD4A@epfl.ch> Cc: OCaml Mailing List Content-Transfer-Encoding: quoted-printable From: =?ISO-8859-1?Q?Daniel_B=FCnzli?= Subject: Re: [Caml-list] Tools for execution timing Date: Tue, 27 Feb 2007 19:52:05 +0100 To: Denis Bueno X-Mailer: Apple Mail (2.752.2) X-Miltered: at discorde with ID 45E47D6B.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; bunzli:01 buenzli:01 macos:01 unix:01 compile:01 caml-list:01 epfl:02 gprof:03 daniel:04 daniel:04 ecrit:06 linux:06 respectively:07 stat:07 memory:08 Le 27 f=E9vr. 07 =E0 19:24, Denis Bueno a =E9crit : > what do people use to time executions? Assuming you are not on windows. Compile with -p and use gprof =20 (linux) or shark (macos). If you want to time within the program =20 itself there is Unix.times and Gc.stat to respectively track time and =20= memory usage. Best, Daniel