Agda-2.4.2.3: 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.

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

Bill a computation to a specific account.

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

Bill a pure computation to a specific account.

print :: MonadTCM tcm => tcm () Source

Prints the accumulated benchmark results. Does nothing if profiling is not activated at level 7.