summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDouglas Wilson <douglas.wilson@gmail.com>2020-12-14 13:55:54 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-01-17 05:49:54 -0500
commit345ae06b3334a64e9d6db9ea69573ef3227e535a (patch)
tree55fff9e7dccbaf5b8181ce2534c0624a00a5b161 /includes
parentf2d118c0a018dccd3c82e885f500d4e57ff94f82 (diff)
downloadhaskell-345ae06b3334a64e9d6db9ea69573ef3227e535a.tar.gz
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.
Diffstat (limited to 'includes')
-rw-r--r--includes/RtsAPI.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/RtsAPI.h b/includes/RtsAPI.h
index a5e4dfd623..c896b5b244 100644
--- a/includes/RtsAPI.h
+++ b/includes/RtsAPI.h
@@ -270,6 +270,8 @@ typedef struct _RTSStats {
// parallel GCs
uint64_t scav_find_work;
+ uint64_t max_n_todo_overflow;
+
// ----------------------------------
// Concurrent garbage collector