diff options
author | Douglas Wilson <douglas.wilson@gmail.com> | 2020-12-14 13:55:54 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-01-17 05:49:54 -0500 |
commit | 345ae06b3334a64e9d6db9ea69573ef3227e535a (patch) | |
tree | 55fff9e7dccbaf5b8181ce2534c0624a00a5b161 /rts/sm/GCThread.h | |
parent | f2d118c0a018dccd3c82e885f500d4e57ff94f82 (diff) | |
download | haskell-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 'rts/sm/GCThread.h')
-rw-r--r-- | rts/sm/GCThread.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |