Lines Matching refs:DatumId
124 enum class DatumId { enum
263 virtual void ReportCounter(DatumId counter_type, uint64_t value) = 0;
274 virtual void ReportHistogram(DatumId histogram_type,
282 template <DatumId counter_type, typename T>
284 template <DatumId counter_type, typename T>
286 template <DatumId histogram_type, size_t num_buckets, int64_t low_value, int64_t high_value>
288 template <DatumId datum_id, typename T, const T& AccumulatorFunction(const T&, const T&)>
290 template <DatumId datum_id, typename T>
309 template <DatumId counter_type, typename T = uint64_t>
345 template <DatumId datum_id, typename T = uint64_t>
399 template <DatumId datum_id, typename T = uint64_t>
437 template <DatumId histogram_type_,
507 template <DatumId datum_id, typename T, const T& AccumulatorFunction(const T&, const T&)>
560 virtual void FormatReportCounter(DatumId counter_type, uint64_t value) = 0;
561 virtual void FormatReportHistogram(DatumId histogram_type,
579 void FormatReportCounter(DatumId counter_type, uint64_t value) override;
581 void FormatReportHistogram(DatumId histogram_type,
602 void FormatReportCounter(DatumId counter_type, uint64_t value) override;
604 void FormatReportHistogram(DatumId histogram_type,
630 void ReportCounter(DatumId counter_type, uint64_t value) override;
632 void ReportHistogram(DatumId histogram_type,
756 Kind<DatumId::k##name, ##__VA_ARGS__>* name() { return &name##_; } \
757 const Kind<DatumId::k##name, ##__VA_ARGS__>* name() const { return &name##_; }
765 #define METRIC(name, Kind, ...) Kind<DatumId::k##name, ##__VA_ARGS__> name##_;
771 std::string DatumName(DatumId datum);