summaryrefslogtreecommitdiff
path: root/byterun/gc_ctrl.h
blob: 8b8b89daeb13c29e3bf9e7aa34cfce2b338ed7eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/***********************************************************************/
/*                                                                     */
/*                           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 */