From: Michael Hicks <mwh@dsl.cis.upenn.edu>
To: caml-list@inria.fr
Subject: Caml performance
Date: Sun, 1 Feb 1998 10:48:15 -0500 (EST) [thread overview]
Message-ID: <199802011548.KAA12442@codex.cis.upenn.edu> (raw)
[ Malheureusement, je n'ecris pas bien le francais; alors, j'ecrivait (?) en
Anglais seulement ... ]
I've been trying to compile OCaml to be instrumented with gprof. When I do
so, it's possible to get profile information for the ocamlrun executable
(the interpreter), but not for any of the additional libraries (like Unix
and Threads), presumably because they are "linked" in with the bytecode file
that's being executed, but do not reside in the ocamlrun executable itself.
Is there any way around this? In particular, I'm trying to find out how
much time is spent in the thread scheduler, and gprof seemed like a good way
to find this out.
Secondly, I noticed that the interpreter was not compiled, by default, with
-O on. Is there any reason for this? By contrast, the threads library
scheduler does have -O turned on, so it makes me think that gcc might do
some optimizations that are not gc-safe.
Thanks!
Mike
--
Michael Hicks
Ph.D. Candidate, the University of Pennsylvania
http://www.cis.upenn.edu/~mwh mailto://mwh@dsl.cis.upenn.edu
"Since my last report, this employee has reached rock bottom and shows
signs of starting to dig." -- taken from actual performance report
next reply other threads:[~1998-02-04 18:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-02-01 15:48 Michael Hicks [this message]
1998-02-10 20:33 ` Xavier Leroy
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=199802011548.KAA12442@codex.cis.upenn.edu \
--to=mwh@dsl.cis.upenn.edu \
--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