caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Garbage collection and profiling
@ 2009-06-04 17:03 Jean Krivine
  2009-06-04 17:29 ` [Caml-list] " David MENTRE
  0 siblings, 1 reply; 4+ messages in thread
From: Jean Krivine @ 2009-06-04 17:03 UTC (permalink / raw)
  To: caml-list

Dear list

Does anyone knows a simple way to evaluate the time spent by an ocaml
program in GCing?
I guess I can simply disable the GC and compare execution time but I
was wondering whether there is no direct way to do it.

Thanks!


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Caml-list] Garbage collection and profiling
  2009-06-04 17:03 Garbage collection and profiling Jean Krivine
@ 2009-06-04 17:29 ` David MENTRE
  2009-06-04 18:02   ` Jean Krivine
  0 siblings, 1 reply; 4+ messages in thread
From: David MENTRE @ 2009-06-04 17:29 UTC (permalink / raw)
  To: Jean Krivine; +Cc: caml-list

Hello,

On Thu, Jun 4, 2009 at 19:03, Jean Krivine <jean.krivine@gmail.com> 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Caml-list] Garbage collection and profiling
  2009-06-04 17:29 ` [Caml-list] " David MENTRE
@ 2009-06-04 18:02   ` Jean Krivine
  2009-06-04 20:13     ` Jon Harrop
  0 siblings, 1 reply; 4+ messages in thread
From: Jean Krivine @ 2009-06-04 18:02 UTC (permalink / raw)
  To: David MENTRE; +Cc: caml-list

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 <dmentre@linux-france.org> wrote:
> Hello,
>
> On Thu, Jun 4, 2009 at 19:03, Jean Krivine <jean.krivine@gmail.com> 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
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Caml-list] Garbage collection and profiling
  2009-06-04 18:02   ` Jean Krivine
@ 2009-06-04 20:13     ` Jon Harrop
  0 siblings, 0 replies; 4+ messages in thread
From: Jon Harrop @ 2009-06-04 20:13 UTC (permalink / raw)
  To: caml-list

On Thursday 04 June 2009 19:02:27 Jean Krivine wrote:
> 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?

Are you profiling native code using gprof?

-- 
Dr Jon Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/?e


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-06-04 20:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-04 17:03 Garbage collection and profiling Jean Krivine
2009-06-04 17:29 ` [Caml-list] " David MENTRE
2009-06-04 18:02   ` Jean Krivine
2009-06-04 20:13     ` Jon Harrop

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).