hp2any-core-0.11.2: Heap profiling helper library

Safe HaskellSafe-Inferred

Profiling.Heap.Stats

Description

This module defines a heap profile data structure optimised for querying various statistics, but not suitable for continuous updating.

Synopsis

Documentation

data ProfileWithStats Source

A data structure providing profile statistics at a low cost. It accelerates interval extraction as well as determining maxima and integrals over any subinterval: all of these operations take logarithmic time to execute.

buildStats :: Profile -> ProfileWithStatsSource

Create extra data to speed up various queries.