ghcide-2.9.0.0: The core of an IDE
Safe HaskellSafe-Inferred
LanguageGHC2021

Development.IDE.Main.HeapStats

Description

Logging utilities for reporting heap statistics

Synopsis

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.

data Log Source #

Instances

Instances details
Show Log Source # 
Instance details

Defined in Development.IDE.Main.HeapStats

Methods

showsPrec :: Int -> Log -> ShowS #

show :: Log -> String #

showList :: [Log] -> ShowS #

Pretty Log Source # 
Instance details

Defined in Development.IDE.Main.HeapStats

Methods

pretty :: Log -> Doc ann #

prettyList :: [Log] -> Doc ann #