1995-08-09 08:06:35 -07:00
|
|
|
/***********************************************************************/
|
|
|
|
/* */
|
1996-04-30 07:53:58 -07:00
|
|
|
/* Objective Caml */
|
1995-08-09 08:06:35 -07:00
|
|
|
/* */
|
|
|
|
/* Damien Doligez, projet Para, INRIA Rocquencourt */
|
|
|
|
/* */
|
1996-04-30 07:53:58 -07:00
|
|
|
/* Copyright 1996 Institut National de Recherche en Informatique et */
|
1999-11-17 10:59:06 -08:00
|
|
|
/* en Automatique. All rights reserved. This file is distributed */
|
2001-12-07 05:41:02 -08:00
|
|
|
/* under the terms of the GNU Library General Public License, with */
|
|
|
|
/* the special exception on linking described in file ../LICENSE. */
|
1995-08-09 08:06:35 -07:00
|
|
|
/* */
|
|
|
|
/***********************************************************************/
|
|
|
|
|
|
|
|
/* $Id$ */
|
|
|
|
|
2003-12-15 10:10:51 -08:00
|
|
|
#ifndef CAML_GC_CTRL_H
|
|
|
|
#define CAML_GC_CTRL_H
|
1995-05-04 03:15:53 -07:00
|
|
|
|
|
|
|
#include "misc.h"
|
|
|
|
|
2001-02-05 06:59:02 -08:00
|
|
|
extern double
|
2004-01-02 11:23:29 -08:00
|
|
|
caml_stat_minor_words,
|
|
|
|
caml_stat_promoted_words,
|
|
|
|
caml_stat_major_words;
|
2001-02-05 06:59:02 -08:00
|
|
|
|
2005-09-22 07:21:50 -07:00
|
|
|
extern intnat
|
2004-01-02 11:23:29 -08:00
|
|
|
caml_stat_minor_collections,
|
|
|
|
caml_stat_major_collections,
|
|
|
|
caml_stat_heap_size,
|
|
|
|
caml_stat_top_heap_size,
|
|
|
|
caml_stat_compactions,
|
|
|
|
caml_stat_heap_chunks;
|
1995-05-04 03:15:53 -07:00
|
|
|
|
2005-09-22 07:21:50 -07:00
|
|
|
void caml_init_gc (uintnat, uintnat, uintnat,
|
|
|
|
uintnat, uintnat);
|
1995-05-04 03:15:53 -07:00
|
|
|
|
|
|
|
|
1999-11-08 09:02:14 -08:00
|
|
|
#ifdef DEBUG
|
2004-01-02 11:23:29 -08:00
|
|
|
void caml_heap_check (void);
|
1999-11-08 09:02:14 -08:00
|
|
|
#endif
|
|
|
|
|
2003-12-15 10:10:51 -08:00
|
|
|
#endif /* CAML_GC_CTRL_H */
|