Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Christian Stork <caml-list@cstork.org>
To: OCaml Mailing List <caml-list@inria.fr>
Subject: Re: [Caml-list] Tools for execution timing
Date: Wed, 28 Feb 2007 02:27:00 +0100	[thread overview]
Message-ID: <20070228012659.GA13470@stirner.roentgeninstitut.de> (raw)
In-Reply-To: <6dbd4d000702271024w1cabaec6u95aee737b411393e@mail.gmail.com>

On Tue, Feb 27, 2007 at 01:24:50PM -0500, Denis Bueno wrote:
> Dear list,
> 
> Just a general request (Caml Hump & Google didn't find anything,
> really): what do people use to time executions? I want to time the
> execution of various phases of a compiler I'm writing, in order to get
> an idea of how relatively efficient they are.
> 
> Would you recommend I just roll my own? Or is there something written
> & debugged I could use?

As part of CIL there's the Stats module which allows very accurate
timings especially on Intel x86 from Pention on upward:

http://hal.cs.berkeley.edu/cil/api/Stats.html

-- 
Chris Stork   <>  Support eff.org!  <>   http://www.ics.uci.edu/~cstork/
OpenPGP fingerprint:  B08B 602C C806 C492 D069  021E 41F3 8C8D 50F9 CA2F


      parent reply	other threads:[~2007-02-28  1:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-27 18:24 Denis Bueno
2007-02-27 18:48 ` [Caml-list] " Martin Jambon
2007-02-27 18:52 ` Daniel Bünzli
2007-02-27 19:05   ` Denis Bueno
2007-02-27 19:15 ` Sam Steingold
2007-02-28  1:27 ` Christian Stork [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070228012659.GA13470@stirner.roentgeninstitut.de \
    --to=caml-list@cstork.org \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox