On Thu, Dec 16, 2010 at 00:43, Richard W.M. Jones <r...@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.

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Reply via email to