Safe Haskell | None |
---|---|
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 lauches the heapStatsThread
and kills it
appropiately when the inner action finishes. It also checks to see
if `-T` is enabled.