All Manuals > LispWorks® User Guide and Reference Manual > 47 The SYSTEM Package

count-gen-num-allocation Function

Summary

Returns the amount of allocated data in a generation in 64-bit LispWorks.

Package

system

Signature

count-gen-num-allocation gen-num &optional include-lower-generations => allocation

Arguments
gen-num
An integer between 0 and 7, inclusive.
include-lower-generations
A generalized boolean.
Values
allocation
An integer.
Description

The function count-gen-num-allocation returns the amount of allocated data in generation gen-num. If include-lower-generations is non-nil, the returned value allocation also includes the data in the younger generations.

Notes

count-gen-num-allocation is implemented only in 64-bit LispWorks. It is not relevant to the Memory Management API in 32-bit implementations, where you can use room-values instead.

On the Mobile GC, the argument gen-num can be 0, 1, 2 or 3 (3 means permanent).

See also

room-values


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:31:02