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 D9A41BC57 for ; Thu, 16 Dec 2010 00:43:36 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAF/hCE1QRFuw/2dsb2JhbACkMnPCXoVKBJYi X-IronPort-AV: E=Sophos;i="4.59,351,1288566000"; d="scan'208";a="92471447" Received: from furbychan.cocan.org ([80.68.91.176]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/AES256-SHA; 16 Dec 2010 00:43:36 +0100 Received: from rich by furbychan.cocan.org with local (Exim 4.69) (envelope-from ) id 1PT10R-0004lQ-GP; Wed, 15 Dec 2010 23:43:35 +0000 Date: Wed, 15 Dec 2010 23:43:35 +0000 From: "Richard W.M. Jones" To: Nicolas Ojeda Bar Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] question about gc Message-ID: <20101215234335.GA3647@annexia.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Spam: no; 0.00; wrote:01 caml-list:01 gprof:03 compiled:04 profiling:04 dec:05 wed:06 standard:07 red:92 nicolas:08 idea:13 question:13 tools:13 but:14 some:14 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. Rich. -- Richard Jones Red Hat