ocean.math.BinaryHistogram

An integer, binary logarithmic statistics counter

Collects the following statistical information: - a binary logarithmic histogram with bins from ≥1 to <2^MaxPow2 (see template documentation, below), one bin per power of two, plus one bin for each 0 and ≥2^MaxPow2, - the total number of entries and the aggregated total amount.

To reset all counters to zero use BinaryHistogram.init.

Members

Structs

BinaryHistogram
struct BinaryHistogram(uint MaxPow2, istring Suffix = "")

An integer, binary logarithmic statistics counter

Meta

License

Boost Software License Version 1.0. See LICENSE.txt for details.