English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2010-12-18 (15:53)
From: Richard W.M. Jones <rich@a...>
Subject: Re: [Caml-list] question about gc
On Fri, Dec 17, 2010 at 03:22:41AM +0200, Eray Ozkural wrote:
> On Thu, Dec 16, 2010 at 1:43 AM, 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.
> >
> I wasn't aware of oprofile, it looks wicked!!!

oprofile is quite nice.

However, systemtap is really interesting.  [From a language
perspective ...] it's a type-safe language with type inference that
compiles down to C, compiles the C into a kernel module which is
injected into the Linux kernel and lets you do all sorts of amazing
stuff.  The fact that it's a mainstream tool that uses proper type
inference is significant alone, the fact that it's seriously useful is
icing on the cake.



Richard Jones
Red Hat