diff options
| author | Antoine Pitrou <solipsis@pitrou.net> | 2012-06-22 21:13:34 +0200 |
|---|---|---|
| committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-06-22 21:13:34 +0200 |
| commit | 5f6213be2d5890d7bc3ba62db58ac1ce0215aaaa (patch) | |
| tree | e818110e6015c9666cac9d1d3107ca656719811a /Objects/frameobject.c | |
| parent | f7338f65fb8bdb85c52dc54d06d003a82a06bbb3 (diff) | |
| parent | 49526f48fc73d3ccdf09d466ed2d39a30e4df9b9 (diff) | |
| download | cpython-git-5f6213be2d5890d7bc3ba62db58ac1ce0215aaaa.tar.gz | |
Merge
Diffstat (limited to 'Objects/frameobject.c')
| -rw-r--r-- | Objects/frameobject.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Objects/frameobject.c b/Objects/frameobject.c index 929385fe28..808e595157 100644 --- a/Objects/frameobject.c +++ b/Objects/frameobject.c @@ -955,3 +955,13 @@ PyFrame_Fini(void) Py_XDECREF(builtin_object); builtin_object = NULL; } + +/* Print summary info about the state of the optimized allocator */ +void +_PyFrame_DebugMallocStats(FILE *out) +{ + _PyDebugAllocatorStats(out, + "free PyFrameObject", + numfree, sizeof(PyFrameObject)); +} + |
