ocaml/byterun/gc_ctrl.h

43 lines
1.4 KiB
C

/***********************************************************************/
/* */
/* Objective Caml */
/* */
/* Damien Doligez, projet Para, INRIA Rocquencourt */
/* */
/* Copyright 1996 Institut National de Recherche en Informatique et */
/* en Automatique. All rights reserved. This file is distributed */
/* under the terms of the GNU Library General Public License, with */
/* the special exception on linking described in file ../LICENSE. */
/* */
/***********************************************************************/
/* $Id$ */
#ifndef CAML_GC_CTRL_H
#define CAML_GC_CTRL_H
#include "misc.h"
extern double
stat_minor_words,
stat_promoted_words,
stat_major_words;
extern long
stat_minor_collections,
stat_major_collections,
stat_heap_size,
stat_top_heap_size,
stat_compactions,
stat_heap_chunks;
void init_gc (unsigned long, unsigned long, unsigned long,
unsigned long, unsigned long);
#ifdef DEBUG
void heap_check (void);
#endif
#endif /* CAML_GC_CTRL_H */