caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Michaël Grünewald" <michael-grunewald@wanadoo.fr>
To: caml-list@inria.fr
Subject: [Caml-list] Re: module Size
Date: 23 Aug 2002 11:17:53 +0200	[thread overview]
Message-ID: <87n0revsqm.fsf@ketanu.dyndns.org> (raw)
In-Reply-To: <Pine.A32.3.95.1020823101455.42860C-100000@ibm1.cicrp.jussieu.fr>

Diego Olivier Fernandez Pons <Diego-Olivier.FERNANDEZ-PONS@cicrp.jussieu.fr>
writes:

>     Bonjour,
> 
> J'étais en train d'essayer de comparer deux implémentations des arbres
> bicolores, basées sur les types suivants

[...]

> Serait-il possible d'avoir un utilitaire pour surveiller la
> consommation mémoire de nos programmes, 

Le module `Gc' permet tout ce que tu veux

> c'est à dire :
> - taille des données (fonctions, foncteurs, modules, ...)
> - volume de miettes créé

Gc.print_stat stdout (cf. la description du type `Gc.stat' dans le fichier
décriavant l'interface du module `Gc' pour une description précise du sens
des valeurs retournées).

> - travail du ramasse-miettes (voir quand il se met en marche, combien
> de mémoire il libère ...)

Voir le types `Gc.control' et les fonctions `Gc.get' et `Gc.set' qui te
permettront de forcer l'attribut `verbose' à la valeur ad"quate (itou).
-- 
Michaël Grünewald <michael-grunewald@wanadoo.fr>  - RSA PGP Key ID: 0x20D90C12
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  parent reply	other threads:[~2002-08-23 20:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-16 13:50 [Caml-list] JFLA 2003: deuxième appel à communication Jean-Christophe Filliatre
2002-08-23  8:41 ` [Caml-list] module Size Diego Olivier Fernandez Pons
2002-08-23  9:12   ` Yann Régis-Gianas
2002-08-23  9:17   ` Michaël Grünewald [this message]
2002-08-27 12:31     ` [Caml-list] " Diego Olivier Fernandez Pons

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87n0revsqm.fsf@ketanu.dyndns.org \
    --to=michael-grunewald@wanadoo.fr \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).