perf-0.13.0.0: Performance methods and monad.
Safe HaskellNone
LanguageGHC2021

Perf.Count

Description

Simple counter.

Synopsis

Documentation

count :: forall (m :: Type -> Type). Applicative m => StepMeasure m Int Source #

Register 1 as a performance measure

countN :: Int -> Measure IO Int Source #

Count the number of times measured.