next up previous

13.13.1 Determining the Amount of Memory Used by CLIPS

Returns an integer representing the number of bytes CLIPS has currently inuse or has held for later use. This number does not include operating system overhead for allocating memory.

Syntax

(memused)

13.13.2 Determining the Number of Memory Requests Made by CLIPS

Returns an integer representing the number of times CLIPS has requested memory from the operating system. If the operating system overhead for allocating memory is known, then the total memory used can be calculated by

(+ (mem-used) (* <overhead-in-bytes> (mem-requests)))

Syntax

(memrequests)


next up previous