hp2any-core-0.10.1: Heap profiling helper library

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.