File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ struct GC_Num
20
20
max_memory :: Int64
21
21
time_to_safepoint :: Int64
22
22
max_time_to_safepoint :: Int64
23
+ total_time_to_safepoint :: Int64
23
24
sweep_time :: Int64
24
25
mark_time :: Int64
25
26
total_sweep_time :: Int64
Original file line number Diff line number Diff line change @@ -3698,6 +3698,7 @@ JL_DLLEXPORT void jl_gc_collect(jl_gc_collection_t collection)
3698
3698
if (duration > gc_num .max_time_to_safepoint )
3699
3699
gc_num .max_time_to_safepoint = duration ;
3700
3700
gc_num .time_to_safepoint = duration ;
3701
+ gc_num .total_time_to_safepoint += duration ;
3701
3702
3702
3703
gc_invoke_callbacks (jl_gc_cb_pre_gc_t ,
3703
3704
gc_cblist_pre_gc , (collection ));
Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ typedef struct {
77
77
uint64_t max_memory ;
78
78
uint64_t time_to_safepoint ;
79
79
uint64_t max_time_to_safepoint ;
80
+ uint64_t total_time_to_safepoint ;
80
81
uint64_t sweep_time ;
81
82
uint64_t mark_time ;
82
83
uint64_t total_sweep_time ;
You can’t perform that action at this time.
0 commit comments