Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
013e52fd
Commit
013e52fd
authored
5 years ago
by
Inada Naoki
Committed by
GitHub
5 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-37990: fix gc stats (GH-15626)
parent
d765d81b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Modules/gcmodule.c
Modules/gcmodule.c
+3
-2
No files found.
Modules/gcmodule.c
View file @
013e52fd
...
...
@@ -1115,8 +1115,9 @@ collect(struct _gc_runtime_state *state, int generation,
}
if
(
state
->
debug
&
DEBUG_STATS
)
{
double
d
=
_PyTime_AsSecondsDouble
(
_PyTime_GetMonotonicClock
()
-
t1
);
PySys_FormatStderr
(
"gc: done, %zd unreachable, %zd uncollectable, %.4fs elapsed
\n
"
,
PySys_WriteStderr
(
"gc: done, %"
PY_FORMAT_SIZE_T
"d unreachable, "
"%"
PY_FORMAT_SIZE_T
"d uncollectable, %.4fs elapsed
\n
"
,
n
+
m
,
n
,
d
);
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment