XLISP room

Nyquist / XLISP 2.0 - Contents | Tutorials | Examples | Reference

# room

Type: | - | function (subr)
Source: | - | xldmem.c

## Syntax

(room [info])
  info - an optional, unused expression
  returns - NIL

## Description

The 'room' function prints the current memory statistics to *standard-output*. NIL is always returned. The message shows the statistics for:

- total nodes
- current free nodes
- current number of allocated memory segments
- node size of the allocated memory segments
- total memory in bytes
- total number of garbage collections that have occured since this session of XLISP started

## Examples

    (room)    ; prints  Nodes:       4000
              ;         Free nodes:  1723
              ;         Segments:    4
              ;         Allocate:    1000
              ;         Total:       52566
              ;         Collections: 8
              ; returns NIL

Common Lisp: In Common LISP, the 'info' argument controls the amount of information that is printed. In Common Lisp, the form of and information provided by the 'room' output is implementation dependent. For portability, you should not count on this information or form.

See the room function in the XLISP 2.0 manual.

Back to Top

Nyquist / XLISP 2.0 - Contents | Tutorials | Examples | Reference