From 345ae06b3334a64e9d6db9ea69573ef3227e535a Mon Sep 17 00:00:00 2001 From: Douglas Wilson Date: Mon, 14 Dec 2020 13:55:54 +0000 Subject: rts: add max_n_todo_overflow internal counter I've never observed this counter taking a non-zero value, however I do think it's existence is justified by the comment in grab_local_todo_block. I've not added it to RTSStats in GHC.Stats, as it doesn't seem worth the api churn. --- rts/sm/GCThread.h | 1 + 1 file changed, 1 insertion(+) (limited to 'rts/sm/GCThread.h') diff --git a/rts/sm/GCThread.h b/rts/sm/GCThread.h index 90d15c69c5..31719ca020 100644 --- a/rts/sm/GCThread.h +++ b/rts/sm/GCThread.h @@ -183,6 +183,7 @@ typedef struct gc_thread_ { W_ scanned; W_ any_work; W_ scav_find_work; + W_ max_n_todo_overflow; Time gc_start_cpu; // thread CPU time Time gc_end_cpu; // thread CPU time -- cgit v1.2.1