diff options
| author | Antoine Pitrou <solipsis@pitrou.net> | 2010-05-02 19:51:14 +0000 |
|---|---|---|
| committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-05-02 19:51:14 +0000 |
| commit | 951919f558c1879ac6bba955977bb586c046c633 (patch) | |
| tree | 9040e597428978cfc938afcefb9aac6f5b5f7946 /Modules | |
| parent | b0153cf7ac25d8c3430148b4987c1e82fc8e9132 (diff) | |
| download | cpython-git-951919f558c1879ac6bba955977bb586c046c633.tar.gz | |
Issue #4687: Fix accuracy of garbage collection runtimes displayed with
gc.DEBUG_STATS.
Diffstat (limited to 'Modules')
| -rw-r--r-- | Modules/gcmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c index 6c323edd72..fd339961e4 100644 --- a/Modules/gcmodule.c +++ b/Modules/gcmodule.c @@ -837,13 +837,13 @@ collect(int generation) } if (debug & DEBUG_STATS) { - t1 = get_time(); PySys_WriteStderr("gc: collecting generation %d...\n", generation); PySys_WriteStderr("gc: objects in each generation:"); for (i = 0; i < NUM_GENERATIONS; i++) PySys_WriteStderr(" %" PY_FORMAT_SIZE_T "d", gc_list_size(GEN_HEAD(i))); + t1 = get_time(); PySys_WriteStderr("\n"); } |
