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$ */
|
|
|
|
|
1995-05-04 03:15:53 -07:00
|
|
|
#ifndef _gc_ctrl_
|
|
|
|
#define _gc_ctrl_
|
|
|
|
|
|
|
|
#include "misc.h"
|
|
|
|
|
2001-02-05 06:59:02 -08:00
|
|
|
extern double
|
1995-05-04 03:15:53 -07:00
|
|
|
stat_minor_words,
|
|
|
|
stat_promoted_words,
|
2001-02-05 06:59:02 -08:00
|
|
|
stat_major_words;
|
|
|
|
|
|
|
|
extern long
|
1995-05-04 03:15:53 -07:00
|
|
|
stat_minor_collections,
|
|
|
|
stat_major_collections,
|
1997-05-13 07:45:38 -07:00
|
|
|
stat_heap_size,
|
2002-02-01 04:23:58 -08:00
|
|
|
stat_top_heap_size,
|
2002-05-28 09:57:31 -07:00
|
|
|
stat_compactions,
|
|
|
|
stat_heap_chunks;
|
1995-05-04 03:15:53 -07:00
|
|
|
|
1997-09-02 05:55:01 -07:00
|
|
|
void init_gc (unsigned long, unsigned long, unsigned long,
|
2001-02-19 02:01:41 -08:00
|
|
|
unsigned long, unsigned long);
|
1995-05-04 03:15:53 -07:00
|
|
|
|
|
|
|
|
1999-11-08 09:02:14 -08:00
|
|
|
#ifdef DEBUG
|
|
|
|
void heap_check (void);
|
|
|
|
#endif
|
|
|
|
|
1995-05-04 03:15:53 -07:00
|
|
|
#endif /* _gc_ctrl_ */
|