diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-05-02 19:59:47 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-05-02 19:59:47 (GMT) |
commit | 6e20a1bdf082dc20586c291993a32b58b503744e (patch) | |
tree | a67771b478d241e77e0fb7cbf3b4a52d0eef751d /Modules/gcmodule.c | |
parent | f58087ba29d79feae0eb05b9a3db01ba3b24f163 (diff) | |
download | cpython-6e20a1bdf082dc20586c291993a32b58b503744e.zip cpython-6e20a1bdf082dc20586c291993a32b58b503744e.tar.gz cpython-6e20a1bdf082dc20586c291993a32b58b503744e.tar.bz2 |
Merged revisions 80704 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80704 | antoine.pitrou | 2010-05-02 21:51:14 +0200 (dim., 02 mai 2010) | 4 lines
Issue #4687: Fix accuracy of garbage collection runtimes displayed with
gc.DEBUG_STATS.
........
Diffstat (limited to 'Modules/gcmodule.c')
-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 1b5cf89..3058724 100644 --- a/Modules/gcmodule.c +++ b/Modules/gcmodule.c @@ -804,13 +804,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"); } |