diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2019-05-29 16:56:08 +0100 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2019-05-30 10:17:14 +0100 |
commit | db3639399db743eff1c2bde57d9219a77aa0f59a (patch) | |
tree | d44b8ffeec5bbcd3ec3271e0e124da7f8214220d /rts/ProfHeap.c | |
parent | 2d2aa2031b9abc3bff7b5585ab4201948c8bba7d (diff) | |
download | haskell-wip/eventlog-heap-prof-end.tar.gz |
Add HEAP_PROF_SAMPLE_END event to mark end of sampleswip/eventlog-heap-prof-end
This allows a user to observe how long a sampling period lasts so that
the time taken can be removed from the profiling output.
Fixes #16697
Diffstat (limited to 'rts/ProfHeap.c')
-rw-r--r-- | rts/ProfHeap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rts/ProfHeap.c b/rts/ProfHeap.c index 5e3f8940a0..6fbfb6ea88 100644 --- a/rts/ProfHeap.c +++ b/rts/ProfHeap.c @@ -884,6 +884,7 @@ dumpCensus( Census *census ) fprintf(hp_file, "\t%" FMT_Word "\n", (W_)count * sizeof(W_)); } + traceHeapProfSampleEnd(era); printSample(false, census->time); } |