From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: ** X-Spam-Status: No, score=2.3 required=5.0 tests=AWL,DNS_FROM_RFC_POST, SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 0803CBBAF for ; Thu, 4 Jun 2009 20:02:29 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuECALuoJ0rRVdrPmGdsb2JhbACXYD8BAQEBAQgJDAcRpV6BFZBRAQMCBIQHBQ X-IronPort-AV: E=Sophos;i="4.41,306,1241388000"; d="scan'208";a="28850680" Received: from mail-bw0-f207.google.com ([209.85.218.207]) by mail3-smtp-sop.national.inria.fr with ESMTP; 04 Jun 2009 20:02:28 +0200 Received: by bwz3 with SMTP id 3so992365bwz.27 for ; Thu, 04 Jun 2009 11:02:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=pJME/q+FGSH3l3jw/hteGBSGC1Sr4i9etE7aeN2XiUI=; b=aPRA1o2l4HxLOB7u9ovirAsbQSuNDN3pj6Q4QwS/6IxLGgpnOPqYck5Yc/+LvnVSfV se1ywAQ+JYfy8j60EvS0yPobJvDAlH5TrHDiN9wAR9OduT7bV2S/MJBcZsVZ8nH72cuU AE45lE2ePetujGKzufpatdVceGmIkveLLLEoU= 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:content-transfer-encoding; b=ECIueeksbgHAJVpGsgwflxr1Tgt8WUaA6+4EqSNFBPCRDCyTqdNheACESsXgHwae1e 5XMQ36kKib+C337OVzj2W7EZcGm6RP5MATYqDtAsUlyX9Aj3AdZ3hINXevAGmyvSljUO zGzqypNS7j9ofzvecS4/WCIA/utKwzvR4oQ88= MIME-Version: 1.0 Received: by 10.204.56.4 with SMTP id w4mr2300280bkg.17.1244138548004; Thu, 04 Jun 2009 11:02:28 -0700 (PDT) In-Reply-To: <3d13dcfc0906041029s2d37837ei8f6735b4cc29aecb@mail.gmail.com> References: <3d13dcfc0906041029s2d37837ei8f6735b4cc29aecb@mail.gmail.com> Date: Thu, 4 Jun 2009 14:02:27 -0400 Message-ID: Subject: Re: [Caml-list] Garbage collection and profiling From: Jean Krivine To: David MENTRE Cc: caml-list@yquem.inria.fr Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; krivine:01 krivine:01 ocaml:01 2009:98 2009:98 garbage:01 wrote:01 wrote:01 graph:01 caml-list:01 output:02 native:03 gprof:03 profiling:04 profiling:04 For some strange reasons when I do so, I don't have time% but only call numbers in the profile. Is there something I missed? J On Thu, Jun 4, 2009 at 1:29 PM, David MENTRE wrote: > Hello, > > On Thu, Jun 4, 2009 at 19:03, Jean Krivine wrote: >> Does anyone knows a simple way to evaluate the time spent by an ocaml >> program in GCing? > > Activate profiling in native code version and sum the time spent in > the GC entry points in gprof call graph output? > > Sincerely yours, > david >