| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Development.IDE.Main.HeapStats
Description
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.
Constructors
| LogHeapStatsPeriod !Int | |
| LogHeapStatsDisabled | |
| LogHeapStats !Word64 !Word64 |