Version française
Home     About     Download     Resources     Contact us    
Browse thread
question about gc
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jesper Louis Andersen <jesper.louis.andersen@g...>
Subject: Re: [Caml-list] question about gc
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.