summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorBartosz Nitka <niteria@gmail.com>2016-07-27 08:24:40 -0700
committerBartosz Nitka <niteria@gmail.com>2016-07-27 08:25:05 -0700
commitb0a5144348d6abad18e771ad2cf3134a5724b969 (patch)
treec9e871ca5cf4273b95cdef7caadc6bfb340f29e0 /includes
parent8f63ba30b170c7063640b789ce703f68dca2c21b (diff)
downloadhaskell-b0a5144348d6abad18e771ad2cf3134a5724b969.tar.gz
Add mblocks_allocated to GC stats API
This exposes mblocks_allocated in the GCStats struct. Test Plan: it builds Reviewers: bgamari, simonmar, austin, hvr, erikd Reviewed By: erikd Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2429
Diffstat (limited to 'includes')
-rw-r--r--includes/rts/storage/GC.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/rts/storage/GC.h b/includes/rts/storage/GC.h
index 50fc5eb227..6dc483f1ff 100644
--- a/includes/rts/storage/GC.h
+++ b/includes/rts/storage/GC.h
@@ -237,6 +237,7 @@ typedef struct _GCStats {
StgWord64 current_bytes_slop;
StgWord64 max_bytes_slop;
StgWord64 peak_megabytes_allocated;
+ StgWord64 mblocks_allocated;
StgWord64 par_tot_bytes_copied;
StgWord64 par_max_bytes_copied;
StgDouble mutator_cpu_seconds;