ghc-lib-9.10.1.20240511: The GHC API, decoupled from GHC versions
Safe HaskellIgnore
LanguageGHC2021

GHC.StgToJS.Profiling

Synopsis

Documentation

Predicates

ifProfiling :: Monoid m => m -> G m Source #

ifProfilingM :: Monoid m => G m -> G m Source #

helpers

profStat :: StgToJSConfig -> JStgStat -> JStgStat Source #

If profiling is enabled, then use input JStgStat, else ignore