summaryrefslogtreecommitdiff
path: root/includes/rts/storage/GC.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/rts/storage/GC.h')
-rw-r--r--includes/rts/storage/GC.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/rts/storage/GC.h b/includes/rts/storage/GC.h
index 26c5593d66..5de8b2be4a 100644
--- a/includes/rts/storage/GC.h
+++ b/includes/rts/storage/GC.h
@@ -192,7 +192,7 @@ typedef struct _GCStats {
StgWord64 current_bytes_slop;
StgWord64 max_bytes_slop;
StgWord64 peak_megabytes_allocated;
- StgWord64 par_avg_bytes_copied;
+ StgWord64 par_tot_bytes_copied;
StgWord64 par_max_bytes_copied;
StgDouble mutator_cpu_seconds;
StgDouble mutator_wall_seconds;
@@ -202,13 +202,14 @@ typedef struct _GCStats {
StgDouble wall_seconds;
} GCStats;
void getGCStats (GCStats *s);
+rtsBool getGCStatsEnabled (void);
// These don't change over execution, so do them elsewhere
// StgDouble init_cpu_seconds;
// StgDouble init_wall_seconds;
typedef struct _ParGCStats {
- StgWord64 avg_copied;
+ StgWord64 tot_copied;
StgWord64 max_copied;
} ParGCStats;
void getParGCStats (ParGCStats *s);