Agda-2.4.2.2: A dependently typed functional programming language and proof assistant

Safe HaskellNone
LanguageHaskell98

Agda.TypeChecking.Monad.Benchmark

Description

Measure CPU time for individual phases of the Agda pipeline.

Synopsis

Documentation

getBenchmark :: TCM Benchmark Source

Lens getter for Benchmark from TCM.

benchmarking :: MonadTCM tcm => tcm Bool Source

Check whether benchmarking is activated.

reportBenchmarkingLn :: String -> TCM () Source

Report benchmarking results.

reportBenchmarkingDoc :: TCM Doc -> TCM () Source

Report benchmarking results.

billTo :: MonadTCM tcm => Account -> tcm a -> tcm a Source

Bill a computation to a specific account.

billTop :: MonadTCM tcm => Phase -> tcm a -> tcm a Source

Bill a top account.

billPureTo :: MonadTCM tcm => Account -> a -> tcm a Source

Bill a pure computation to a specific account.

billSub :: MonadTCM tcm => Account -> tcm a -> tcm a Source

Bill a sub account.

reimburse :: MonadTCM tcm => Account -> tcm a -> tcm a Source

Reimburse a specific account for computation costs.

reimburseTop :: MonadTCM tcm => Phase -> tcm a -> tcm a Source

Reimburse a top account.