instrument-0.6.1.0: Easy stats/metrics instrumentation for Haskell programs
CopyrightSoostone Inc
LicenseBSD3
MaintainerOzgun Ataman
Stabilityexperimental
Safe HaskellSafe-Inferred
LanguageHaskell2010

Instrument.Sampler

Description

A container that can capture actual numeric values, efficiently and concurrently buffering them in memory. We can impose a cap on how many values are captured at a time.

Synopsis

Documentation

newtype Sampler Source #

An in-memory, bounded buffer for measurement samples.

Constructors

S 

Fields

new :: Int -> IO Sampler Source #

Create a new, empty sampler