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

NextPrevUpTopContentsIndex

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

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 gen-num argument can be 0, 1, 2 or 3 (3 means permanent).

See also

room-values


LispWorks User Guide and Reference Manual - 20 Sep 2017

NextPrevUpTopContentsIndex