Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
5539ef02
Commit
5539ef02
authored
Apr 10, 2014
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
runtime: make times in GODEBUG=gctrace=1 output clearer
TBR=0intro CC=golang-codereviews
https://golang.org/cl/86620043
parent
bfbb2e82
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mgc0.c
src/pkg/runtime/mgc0.c
+2
-2
No files found.
src/pkg/runtime/mgc0.c
View file @
5539ef02
...
...
@@ -2440,10 +2440,10 @@ gc(struct gc_args *args)
stats
.
nosyield
+=
work
.
markfor
->
nosyield
;
stats
.
nsleep
+=
work
.
markfor
->
nsleep
;
runtime
·
printf
(
"gc%d(%d): %D+%D+%D
m
s, %D -> %D MB, %D (%D-%D) objects,"
runtime
·
printf
(
"gc%d(%d): %D+%D+%D
+%D u
s, %D -> %D MB, %D (%D-%D) objects,"
" %d/%d/%d sweeps,"
" %D(%D) handoff, %D(%D) steal, %D/%D/%D yields
\n
"
,
mstats
.
numgc
,
work
.
nproc
,
(
t
3
-
t2
)
/
1000000
,
(
t2
-
t1
)
/
1000000
,
(
t1
-
t0
+
t4
-
t3
)
/
1000
000
,
mstats
.
numgc
,
work
.
nproc
,
(
t
1
-
t0
)
/
1000
,
(
t2
-
t1
)
/
1000
,
(
t3
-
t2
)
/
1000
,
(
t4
-
t3
)
/
1
000
,
heap0
>>
20
,
heap1
>>
20
,
obj
,
mstats
.
nmalloc
,
mstats
.
nfree
,
sweep
.
nspan
,
gcstats
.
nbgsweep
,
gcstats
.
npausesweep
,
...
...
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