diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-04-15 16:42:56 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2019-10-22 12:17:00 -0400 |
commit | 6f1731812331d4ddb4326fdfcefa095b867547e9 (patch) | |
tree | bc1fb4a5d0b41b98e50e38dcfea0c20748439ce6 /rts/Trace.h | |
parent | 0d31819ed27f6763f5d253df0c1226d4c844e802 (diff) | |
download | haskell-6f1731812331d4ddb4326fdfcefa095b867547e9.tar.gz |
NonmovingCensus: Emit samples to eventlogwip/gc/instrumentation
Diffstat (limited to 'rts/Trace.h')
-rw-r--r-- | rts/Trace.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rts/Trace.h b/rts/Trace.h index 9b52c3cb65..7f72fd8093 100644 --- a/rts/Trace.h +++ b/rts/Trace.h @@ -9,6 +9,7 @@ #pragma once #include "rts/EventLogFormat.h" +#include "sm/NonMovingCensus.h" #include "Capability.h" #if defined(DTRACE) @@ -72,6 +73,7 @@ extern int TRACE_spark_sampled; extern int TRACE_spark_full; /* extern int TRACE_user; */ // only used in Trace.c extern int TRACE_cap; +extern int TRACE_nonmoving_gc; // ----------------------------------------------------------------------------- // Posting events @@ -311,6 +313,8 @@ void traceConcSyncEnd(void); void traceConcSweepBegin(void); void traceConcSweepEnd(void); void traceConcUpdRemSetFlush(Capability *cap); +void traceNonmovingHeapCensus(uint32_t log_blk_size, + const struct NonmovingAllocCensus *census); void flushTrace(void); @@ -359,6 +363,7 @@ void flushTrace(void); #define traceConcSweepBegin() /* nothing */ #define traceConcSweepEnd() /* nothing */ #define traceConcUpdRemSetFlush(cap) /* nothing */ +#define traceNonmovingHeapCensus(blk_size, census) /* nothing */ #define flushTrace() /* nothing */ |