mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
getcounts() returns a list of counts of allocations and deallocations for all different object types. getobjects(n [, type ]) returns a list of recently allocated and not-yet-freed objects of the given type (all objects if no type given). Only the n most recent (all if n==0) objects are returned. getcounts is only available if compiled with -DCOUNT_ALLOCS, getobjects is only available if compiled with -DTRACE_REFS. Note that everything must be compiled with these options! |
||
|---|---|---|
| .. | ||
| abstract.c | ||
| accessobject.c | ||
| classobject.c | ||
| dictobject.c | ||
| fileobject.c | ||
| floatobject.c | ||
| frameobject.c | ||
| funcobject.c | ||
| intobject.c | ||
| listobject.c | ||
| longobject.c | ||
| Makefile.in | ||
| mappingobject.c | ||
| methodobject.c | ||
| moduleobject.c | ||
| object.c | ||
| rangeobject.c | ||
| stringobject.c | ||
| tupleobject.c | ||
| typeobject.c | ||
| xxobject.c | ||