ghc-9.10.0.20240426: The GHC API
Safe HaskellNone
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