Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Logging utilities for reporting heap statistics
Synopsis
- withHeapStats :: Recorder (WithPriority Log) -> IO r -> IO r
- data Log
Documentation
withHeapStats :: Recorder (WithPriority Log) -> IO r -> IO r Source #
A helper function which launches the heapStatsThread
and kills it
appropriately when the inner action finishes. It also checks to see
if `-T` is enabled.