- rule : Aesop.DisplayRuleName
- elapsed : Aesop.Nanos
- successful : Bool
Instances For
Equations
- Aesop.instInhabitedRuleProfile = { default := { rule := default, elapsed := default, successful := default } }
Equations
- One or more equations did not get rendered due to their size.
- total : Aesop.Nanos
- configParsing : Aesop.Nanos
- ruleSetConstruction : Aesop.Nanos
- search : Aesop.Nanos
- ruleSelection : Aesop.Nanos
- ruleApplications : Array Aesop.RuleProfile
Instances For
Equations
- One or more equations did not get rendered due to their size.
Equations
- Aesop.Profile.empty = { total := 0, configParsing := 0, ruleSetConstruction := 0, search := 0, ruleSelection := 0, ruleApplications := #[] }
Instances For
Equations
- Aesop.Profile.instEmptyCollectionProfile = { emptyCollection := Aesop.Profile.empty }
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Aesop.Profile.trace.compareTimings
(x : Aesop.DisplayRuleName × Aesop.Nanos × Aesop.Nanos)
(y : Aesop.DisplayRuleName × Aesop.Nanos × Aesop.Nanos)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[inline, reducible]
Equations
Instances For
def
Aesop.ProfileT.run
{m : Type → Type}
{α : Type}
[Monad m]
[MonadLiftT (ST IO.RealWorld) m]
(x : Aesop.ProfileT m α)
(isProfilingEnabled : Bool)
(profile : Aesop.Profile)
:
m (α × Aesop.Profile)
Equations
- Aesop.ProfileT.run x isProfilingEnabled profile = StateRefT'.run (ReaderT.run x { isProfilingEnabled := isProfilingEnabled }) profile
Instances For
class
Aesop.MonadProfile
(m : Type → Type u_1)
extends
MonadReaderOf
,
MonadStateOf
:
Type (max 1 u_1)
Instances
@[always_inline]
Instances For
@[always_inline]
def
Aesop.recordRuleSelectionProfile
{m : Type → Type u_1}
[Aesop.MonadProfile m]
(elapsed : Aesop.Nanos)
:
m Unit
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[always_inline]
def
Aesop.recordRuleProfile
{m : Type → Type u_1}
[Aesop.MonadProfile m]
(rp : Aesop.RuleProfile)
:
m Unit
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[always_inline]
def
Aesop.profiling
{m : Type → Type u_1}
[Monad m]
[Aesop.MonadProfile m]
{α : Type}
[MonadLiftT BaseIO m]
(x : m α)
(recordProfile : α → Aesop.Nanos → m Unit)
:
m α
Equations
- One or more equations did not get rendered due to their size.