| Safe Haskell | Safe-Inferred | 
|---|---|
| Language | GHC2021 | 
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 launches the heapStatsThread and kills it
 appropriately when the inner action finishes. It also checks to see
 if `-T` is enabled.
Constructors
| LogHeapStatsPeriod !Int | |
| LogHeapStatsDisabled | |
| LogHeapStats !Word64 !Word64 |