Name
interpinfo
Synopsis
interpinfoDEST,FLAG
Return information about the interpreter. An integer flag selects which information to return, as listed in Table 6-7.
Table 6-7. Interpinfo flags
|
Flag |
Returns |
|---|---|
|
|
Allocated memory, in bytes. |
|
|
Number of DOD sweeps performed. |
|
|
Number of GC runs performed. |
|
|
Number of active PMCs. |
|
|
Number of active buffers. |
|
|
Number of allocated PMCs. |
|
|
Number of allocated buffers. |
|
|
Number of new PMC or buffer headers allocated since last DOD run. |
|
|
Number of memory blocks allocated since last GC run. |
|
|
Amount of memory copied during GC runs, in bytes. |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access