-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
keep track of more Gcstats #45191
keep track of more Gcstats #45191
Conversation
src/gc.c
Outdated
@@ -3067,6 +3074,7 @@ static int _jl_gc_collect(jl_ptls_t ptls, jl_gc_collection_t collection) | |||
} | |||
|
|||
// 3. walk roots | |||
uint64_t start_mark_time = jl_hrtime(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should be consistent and do this next to JL_PROBE_GC_MARK_BEGIN
@@ -3079,7 +3087,7 @@ static int _jl_gc_collect(jl_ptls_t ptls, jl_gc_collection_t collection) | |||
gc_num.since_sweep += gc_num.allocd; | |||
JL_PROBE_GC_MARK_END(scanned_bytes, perm_scanned_bytes); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be endmark
Time to merge this? |
Is it just time_to_safepoint (ttsp) that you don't like?
…On Tue, May 24, 2022 at 10:38 AM Jameson Nash ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In base/timing.jl
<#45191 (comment)>:
> @@ -18,9 +18,16 @@ struct GC_Num
full_sweep ::Cint
max_pause ::Int64
max_memory ::Int64
+ ttsp ::Int64
could we write out these names?
—
Reply to this email directly, view it on GitHub
<#45191 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE3CLBDAJ2LMF67VMDHLOH3VLTSWBANCNFSM5VDIHXGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Co-authored-by: Valentin Churavy <[email protected]>
merging tomorrow sans objections. |
@@ -18,9 +18,16 @@ struct GC_Num | |||
full_sweep ::Cint | |||
max_pause ::Int64 | |||
max_memory ::Int64 | |||
time_to_safepoint ::Int64 | |||
max_time_to_safepointp ::Int64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chflood typo?
Aw man, yes, sorry
…Sent from my iPhone
On Jun 1, 2022, at 11:29 PM, Oscar Smith ***@***.***> wrote:
@oscardssmith commented on this pull request.
In base/timing.jl:
> @@ -18,9 +18,16 @@ struct GC_Num
full_sweep ::Cint
max_pause ::Int64
max_memory ::Int64
+ time_to_safepoint ::Int64
+ max_time_to_safepointp ::Int64
@chflood typo?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.
|
Keep track of mark/sweep/TTSP (time to safepoint) times for reporting in benchmarks.