perf-0.14.0.0: Performance methods and monad.
Safe HaskellSafe-Inferred
LanguageGHC2021

Perf.Count

Description

Simple counter.

Synopsis

Documentation

count :: Applicative m => StepMeasure m Int Source #

Register 1 as a performance measure

countN :: Int -> Measure IO Int Source #

Count the number of times measured.