perf-0.12.0.1: Low-level run time measurement.
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.