gc_trace

gc_trace — controls the tracing of garbage collection.

Syntax

gc_trace (on_flag)

		

Arguments

on_flag

If non-nil, turn on garbage collector tracing, else turn it off.

Returns

The new status of garbage collector tracing.

Description

This function turns on (on-flag is non-nil) or off (on-flag is nil) the tracing of garbage collection. When garbage collection tracing is on, statistics are collected concerning the number of allocated cells, number of collection calls, and the elapsed time spent within the garbage collector. These statistics can be accessed using a call to allocated-cells.

Example

Gamma> gc_trace (t);				
nil
		

See Also

allocated_cells