+ std::vector<std::chrono::steady_clock::time_point> ts;
+};
+struct LatencyHistogram {
+ void init(const std::string &measuring_point); // Initializes histograms and registers them in global_metrics.
+
+ // Indices: card number, frame history number, b-frame or not (1/0, where 2 counts both).
+ std::vector<std::vector<std::unique_ptr<Summary[]>>> summaries;