Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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.