ghc-experimental-9.1200.0: Experimental features of GHC's standard library
Safe HaskellTrustworthy
LanguageHaskell2010

GHC.Profiling.Eras

Synopsis

Documentation

setUserEra :: Word -> IO () Source #

Set the heap profiling era, setting the era to 0 will stop closures being counted.

getUserEra :: IO Word Source #

Query the profiling era

incrementUserEra :: Word -> IO Word Source #

Increment the era by a given amount, and return the new era.