@[export lean_get_profiler_threshold]
Instances For
@[extern lean_profileit]
def Lean.profileit {α : Type} (category : String) (opts : Options) (fn : Unit → α) (decl : Name := Name.anonymous) :
α
Print and accumulate run time of act when option profiler is set to true.
Instances For
unsafe def Lean.profileitIOUnsafe {ε α : Type} (category : String) (opts : Options) (act : EIO ε α) (decl : Name := Name.anonymous) :
EIO ε α
Instances For
@[implemented_by Lean.profileitIOUnsafe]
def Lean.profileitIO {ε α : Type} (category : String) (opts : Options) (act : EIO ε α) (decl : Name := Name.anonymous) :
EIO ε α
Instances For
def Lean.profileitM {m : Type → Type} (ε : Type) [MonadFunctorT (EIO ε) m] {α : Type} (category : String) (opts : Options) (act : m α) (decl : Name := Name.anonymous) :
m α
Instances For
@[extern lean_display_cumulative_profiling_times]
Print all profiling times (if any) to standard error.