Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Jesper Louis Andersen <jesper.louis.andersen@gmail.com>
To: "Richard W.M. Jones" <rich@annexia.org>
Cc: Nicolas Ojeda Bar <nojb@math.harvard.edu>, caml-list@yquem.inria.fr
Subject: Re: [Caml-list] question about gc
Date: Thu, 16 Dec 2010 01:41:40 +0100	[thread overview]
Message-ID: <AANLkTin59JStadjnkY-S9-DqqRAvFUq--YfRc6xb=C-B@mail.gmail.com> (raw)
In-Reply-To: <20101215234335.GA3647@annexia.org>

On Thu, Dec 16, 2010 at 00:43, Richard W.M. Jones <rich@annexia.org> wrote:
> On Wed, Dec 15, 2010 at 04:15:34PM -0500, Nicolas Ojeda Bar wrote:
>> Is there a way to tell how much time has been spent in
>> the gc at a particular point in time from inside your
>> compiled code?
>
> Yes, use standard profiling tools.  gprof will give you some idea, but
> oprofile is much more accurate.

Is 'perf' from the linux kernel source tree, /usr/src/linux/tools/perf
i believe, useful here? I tend to find it more useful and simpler than
oprofile - but I am not sure you can find the gc-entry point.



-- 
J.


  reply	other threads:[~2010-12-16  0:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-15 21:15 Nicolas Ojeda Bar
2010-12-15 23:43 ` [Caml-list] " Richard W.M. Jones
2010-12-16  0:41   ` Jesper Louis Andersen [this message]
2010-12-17  1:22   ` Eray Ozkural
2010-12-18 15:53     ` Richard W.M. Jones

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='AANLkTin59JStadjnkY-S9-DqqRAvFUq--YfRc6xb=C-B@mail.gmail.com' \
    --to=jesper.louis.andersen@gmail.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=nojb@math.harvard.edu \
    --cc=rich@annexia.org \
    /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