| Safe Haskell | Trustworthy |
|---|---|
| Language | Haskell2010 |
GHC.Profiling.Eras
Synopsis
- setUserEra :: Word -> IO ()
- getUserEra :: IO Word
- incrementUserEra :: Word -> IO Word
Documentation
setUserEra :: Word -> IO () #
Set the heap profiling era, setting the era to 0 will stop closures being counted.
getUserEra :: IO Word #
Query the profiling era
incrementUserEra :: Word -> IO Word #
Increment the era by a given amount, and return the new era.