Neo-LISPer <··········@yahoo.com> writes:
> Is there any way to ask Lisp (CMUCL) how much stack I'm using? I think the
You may try this:
* (room t)
Dynamic Space Usage: 68,416 bytes (out of 512 MB).
Read-Only Space Usage: 20,165,008 bytes (out of 256 MB).
Static Space Usage: 2,881,384 bytes (out of 256 MB).
Control Stack Usage: 484 bytes (out of 128 MB).
Binding Stack Usage: 96 bytes (out of 128 MB).
...
Is this what you are looking for?
Paolo
--
Why Lisp? http://alu.cliki.net/RtL%20Highlight%20Film
Recommended Common Lisp libraries/tools (see also http://clrfi.alu.org):
- ASDF/ASDF-INSTALL: system building/installation
- CL-PPCRE: regular expressions
- UFFI: Foreign Function Interface
Paolo Amoroso wrote:
> *�(room�t)
>
> Dynamic�Space�Usage:�����������68,416�bytes�(out�of��512�MB).
> Read-Only�Space�Usage:�����20,165,008�bytes�(out�of��256�MB).
> Static�Space�Usage:���������2,881,384�bytes�(out�of��256�MB).
> Control�Stack�Usage:��������������484�bytes�(out�of��128�MB).
> Binding�Stack�Usage:���������������96�bytes�(out�of��128�MB).
> ...
>
> Is this what you are looking for?
After some output redirection and parsing, it will be :)