struct mola::MetricSample

Overview

One (t, value) sample. Value is stored as float to halve the memory footprint of the rolling buffer (the plotted span rarely needs more precision than that).

#include <MetricsRegistry.h>

struct MetricSample
{
    // fields

    double t;
    float v;
};