+174
−0
+274
−0
Loading
This adds a new memory distribution metric, which uses the identical functional bucketing from the timing distribution metric, except the units for conversion are different and it has a different maximum (1TB). In addition to the obvious additions, there is some refactoring going on here: - The distribution data classes from timing dist. and custom dist. were moved to their own package and renamed `FunctionalHistogram` and `PrecomputedHistogram` respectively, so that they could be shared between different metric types. This prompted some moving around of tests. - It was discovered that these classes stored the name and category of the metric, but they really don't need to. All we need is a way to round-trip the bucket positions, values and sum. - `HistogramBase` was renamed to `HistogramMetricBase`, since it's not the base of these new histogram data classes, but of metrics that use a histogram.