Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* profiling anonymous functions
@ 2005-01-24 20:13 Eric Breck
  0 siblings, 0 replies; only message in thread
From: Eric Breck @ 2005-01-24 20:13 UTC (permalink / raw)
  To: caml-list


Hello folks,

I'm profiling an ocaml program compiled with ocamlopt -p on linux/x86, and
I'm having trouble reading the gprof output.  In particular, is there a
way to tell which of the thirty or so anonymous functions (fun arg -> ) in
my module foo.ml corresponds to, say 'camlFoo__fun_664' in the gprof
output?  I can sometimes infer which ones are which by looking at gprof's
call graph, but sometimes not.  Is there some way to get from the
identifer gprof uses to the location in the source file where that
anonymous function is defined?

thanks,

Eric Breck


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-24 20:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-24 20:13 profiling anonymous functions Eric Breck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox