Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /sml/trunk/src/runtime/gc/heap-monitor.h
ViewVC logotype

View of /sml/trunk/src/runtime/gc/heap-monitor.h

Parent Directory Parent Directory | Revision Log Revision Log

Revision 2 - (download) (as text) (annotate)
Sat Oct 4 23:33:09 1997 UTC (22 years, 9 months ago) by monnier
File size: 808 byte(s)
Initial revision
/* heap-monitor.h
 * COPYRIGHT (c) 1993 by AT&T Bell Laboratories.
 * The interface of an X-windows heap monitor.

#ifndef _HEAP_MONITOR_
#define _HEAP_MONITOR_

#ifndef _ML_BASE_
#include "ml-base.h"


typedef struct monitor monitor_t;

extern void HeapMon_StartGC (heap_t *heap, int maxCollectedGen);
extern void HeapMon_UpdateHeap (heap_t *heap, int MaxCollectedGen);
extern void HeapMon_MarkRegion (heap_t *heap, ml_val_t *base, Word_t szB, aid_t aid);
extern void HeapMon_MarkFromSp (heap_t *heap, ml_val_t *base, Word_t szB);


/* Macros to nullify calls to the heap monitor routines. */
#define HeapMon_StartGC(A,B)
#define HeapMon_UpdateHeap(A,B)
#define HeapMon_MarkRegion(A,B,C,D)
#define HeapMon_MarkFromSp(A,B,C)


#endif /* !_HEAP_MONITOR_ */

ViewVC Help
Powered by ViewVC 1.0.0