From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id C6C4EBC57 for ; Fri, 17 Dec 2010 02:22:42 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap0AAFNJCk1KfVMskGdsb2JhbACFMZ8GCBUBAQEBCQkMBxEEIKkJiXCCGIUILohXAQEDBYVFBIp9 X-IronPort-AV: E=Sophos;i="4.59,358,1288566000"; d="scan'208";a="92659619" Received: from mail-gw0-f44.google.com ([74.125.83.44]) by mail1-smtp-roc.national.inria.fr with ESMTP; 17 Dec 2010 02:22:42 +0100 Received: by gwj17 with SMTP id 17so89581gwj.3 for ; Thu, 16 Dec 2010 17:22:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=dwean2ub6Rt1BI73g8w7HxSrNVR5cPhXp9aFE0Qd0MU=; b=nUOamjrn9Gl1fSvE/SuSSZSP9NDhReA1OTDwGxYjUfhrMTRDtBICY8Sdn6pjMMcJYB x/5UtEUja3LTbruO8qgURUM03cZWgCRt1BmqRbyTizpHFOU7kDuYfdMXq5uF1IKXA2IO APvrx+mHtnIq29au7v/xz74vgbkUBEtPCJReA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=hS19vLuiMCIWNWVqQsAwoNL7meITxVmEjUrE8tgdLCGIqlfxUgxv2MLscDeAoxC2BC di0Ub8kW1448GqVQUAW83suO9eQFC76o3OiKbOTCKD+XggUKLkPM6g1jQCr/7svhHmdX rql146C21QEWaSBmeJfmgtSUpz40Bi8GniHuM= MIME-Version: 1.0 Received: by 10.90.88.6 with SMTP id l6mr1533877agb.177.1292548961319; Thu, 16 Dec 2010 17:22:41 -0800 (PST) Received: by 10.90.211.10 with HTTP; Thu, 16 Dec 2010 17:22:41 -0800 (PST) In-Reply-To: <20101215234335.GA3647@annexia.org> References: <20101215234335.GA3647@annexia.org> Date: Fri, 17 Dec 2010 03:22:41 +0200 Message-ID: Subject: Re: [Caml-list] question about gc From: Eray Ozkural To: "Richard W.M. Jones" Cc: Nicolas Ojeda Bar , caml-list@yquem.inria.fr Content-Type: multipart/alternative; boundary=0016363b83fab1ba6c0497910174 X-Spam: no; 0.00; eray:01 ozkural:01 eray:01 wrote:01 wrote:01 caml-list:01 gprof:03 gprof:03 compiled:04 compiled:04 profiling:04 profiling:04 thu:05 thu:05 dec:05 --0016363b83fab1ba6c0497910174 Content-Type: text/plain; charset=ISO-8859-1 On Thu, Dec 16, 2010 at 1:43 AM, Richard W.M. Jones 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!!! Best, -- Eray --0016363b83fab1ba6c0497910174 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Thu, Dec 16, 2010 at 1:43 AM, Richard W.M. Jones <<= a href=3D"mailto:rich@annexia.org">rich@annexia.org> wrote:
On Wed, Dec 15, 2010 at 04:15:34PM -0500, Nicolas Ojeda B= ar 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. =A0gprof will give you some idea, = but
oprofile is much more accurate.
=A0

I wa= sn't aware of oprofile, it looks wicked!!!

Bes= t,

--
Eray
=A0
--0016363b83fab1ba6c0497910174--