From: "Daniel Bünzli" <daniel.buenzli@epfl.ch>
To: "Quôc Peyrot" <chojin@lrde.epita.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] time profiling and nested function inlining
Date: Wed, 6 Dec 2006 09:55:16 +0100 [thread overview]
Message-ID: <613020E3-8A60-4FA9-975E-F2AD5E0E28DB@epfl.ch> (raw)
In-Reply-To: <4C40AFBA-AE30-4C22-B2A5-170FDA130B64@lrde.epita.fr>
If you have the development tools installed, you can profile on
macosx using shark (you don't even need to compile with -p). Invoke
it from the command line on your executable as follows:
> shark -i -1 -q ./yourexec.opt args
This will write a .mshark file in the directory that you can open
with Shark.app.
> open *.mshark
Best,
Daniel
P.S. I remember having problems if the executable did not run for
long enough, shark couldn't take any samples.
next prev parent reply other threads:[~2006-12-06 8:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-06 3:43 Quôc Peyrot
2006-12-06 8:55 ` Daniel Bünzli [this message]
2006-12-06 9:01 ` [Caml-list] " Daniel Bünzli
2006-12-07 10:43 ` Quôc Peyrot
2006-12-07 12:14 ` Jon Harrop
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=613020E3-8A60-4FA9-975E-F2AD5E0E28DB@epfl.ch \
--to=daniel.buenzli@epfl.ch \
--cc=caml-list@inria.fr \
--cc=chojin@lrde.epita.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