/external/tensorflow/tensorflow/core/lib/monitoring/ |
D | metric_def_test.cc | 25 const MetricDef<MetricKind::kCumulative, int64, 0> metric_def0( in TEST() 27 const MetricDef<MetricKind::kGauge, HistogramProto, 1> metric_def1( in TEST() 33 EXPECT_EQ(MetricKind::kCumulative, metric_def0.kind()); in TEST() 34 EXPECT_EQ(MetricKind::kGauge, metric_def1.kind()); in TEST() 49 const MetricDef<MetricKind::kCumulative, int64, 1> metric_def( in TEST()
|
D | metric_def.h | 39 enum class MetricKind : int { kGauge = 0, kCumulative }; enum 93 MetricKind kind() const { return kind_; } in kind() 106 template <MetricKind kind, typename Value, int NumLabels> 109 AbstractMetricDef(const MetricKind kind, const ValueType value_type, in AbstractMetricDef() 119 const MetricKind kind_; 138 template <MetricKind metric_kind, typename Value, int NumLabels>
|
D | collection_registry.h | 57 template <MetricKind metric_kind, typename Value, int NumLabels> 100 template <MetricKind metric_kind, typename Value, int NumLabels> 263 template <MetricKind metric_kind, typename Value, int NumLabels> 305 template <MetricKind kind> 310 inline void WriteTimestamps<MetricKind::kGauge>( 318 inline void WriteTimestamps<MetricKind::kCumulative>( 332 template <MetricKind metric_kind, typename Value, int NumLabels> 351 template <MetricKind metric_kind, typename Value, int NumLabels>
|
D | collection_registry_test.cc | 48 const MetricDef<MetricKind::kCumulative, int64, 0> metric_def0( in TEST() 50 const MetricDef<MetricKind::kGauge, HistogramProto, 1> metric_def1( in TEST() 72 const MetricDef<MetricKind::kCumulative, int64, 0> metric_def( in TEST() 113 EXPECT_EQ(MetricKind::kCumulative, ld.metric_kind); in TEST() 121 EXPECT_EQ(MetricKind::kCumulative, ud.metric_kind); in TEST() 203 EXPECT_EQ(MetricKind::kGauge, ld.metric_kind); in TEST() 211 EXPECT_EQ(MetricKind::kGauge, ud.metric_kind); in TEST() 309 EXPECT_EQ(MetricKind::kCumulative, ld.metric_kind); in TEST() 317 EXPECT_EQ(MetricKind::kCumulative, ud.metric_kind); in TEST() 403 EXPECT_EQ(MetricKind::kCumulative, ld.metric_kind); in TEST() [all …]
|
D | sampler.h | 136 static Sampler* New(const MetricDef<MetricKind::kCumulative, HistogramProto, 150 Sampler(const MetricDef<MetricKind::kCumulative, HistogramProto, NumLabels>& in Sampler() 178 const MetricDef<MetricKind::kCumulative, HistogramProto, NumLabels> 210 const MetricDef<MetricKind::kCumulative, HistogramProto, NumLabels>& in New()
|
D | percentile_sampler.h | 119 const MetricDef<MetricKind::kCumulative, Percentiles, NumLabels>& 135 PercentileSampler(const MetricDef<MetricKind::kCumulative, Percentiles, in PercentileSampler() 178 const MetricDef<MetricKind::kCumulative, Percentiles, NumLabels> metric_def_; 202 const MetricDef<MetricKind::kCumulative, Percentiles, NumLabels>& in New()
|
D | counter.h | 112 const MetricDef<MetricKind::kCumulative, int64, NumLabels>& metric_def) in Counter() 137 const MetricDef<MetricKind::kCumulative, int64, NumLabels> metric_def_; 163 MetricDef<MetricKind::kCumulative, int64, NumLabels>( in New()
|
D | mobile_percentile_sampler.h | 50 const MetricDef<MetricKind::kCumulative, Percentiles, NumLabels>& 72 const MetricDef<MetricKind::kCumulative, Percentiles, NumLabels>& in New()
|
D | gauge.h | 164 const MetricDef<MetricKind::kGauge, ValueType, NumLabels>& metric_def) in Gauge() 189 const MetricDef<MetricKind::kGauge, ValueType, NumLabels> metric_def_; 231 MetricDef<MetricKind::kGauge, ValueType, NumLabels>( in New()
|
D | collected_metrics.h | 70 MetricKind metric_kind;
|
D | mobile_sampler.h | 87 static Sampler* New(const MetricDef<MetricKind::kCumulative, HistogramProto, in New()
|
/external/opencensus-java/exporters/stats/stackdriver/src/test/java/io/opencensus/exporter/stats/stackdriver/ |
D | StackdriverExportUtilsTest.java | 29 import com.google.api.MetricDescriptor.MetricKind; 126 .isEqualTo(MetricKind.CUMULATIVE); in createMetricKind() 128 .isEqualTo(MetricKind.UNRECOGNIZED); in createMetricKind() 130 .isEqualTo(MetricKind.GAUGE); in createMetricKind() 132 .isEqualTo(MetricKind.GAUGE); in createMetricKind() 391 assertThat(metricDescriptor.getMetricKind()).isEqualTo(MetricKind.CUMULATIVE); in createMetricDescriptor_cumulative() 431 assertThat(metricDescriptor.getMetricKind()).isEqualTo(MetricKind.CUMULATIVE); in createMetricDescriptor_cumulative_count() 489 .setMetricKind(MetricKind.CUMULATIVE) in createTimeSeriesList_cumulative() 500 .setMetricKind(MetricKind.CUMULATIVE) in createTimeSeriesList_cumulative() 559 .setMetricKind(MetricKind.CUMULATIVE) in createTimeSeriesList_withCustomMonitoredResource()
|
/external/opencensus-java/exporters/stats/stackdriver/src/main/java/io/opencensus/exporter/stats/stackdriver/ |
D | StackdriverExportUtils.java | 28 import com.google.api.MetricDescriptor.MetricKind; 119 private static final Function<Object, MetricKind> METRIC_KIND_CUMULATIVE_FUNCTION = 120 Functions.returnConstant(MetricKind.CUMULATIVE); 121 private static final Function<Object, MetricKind> METRIC_KIND_UNRECOGNIZED_FUNCTION = 122 Functions.returnConstant(MetricKind.UNRECOGNIZED); 258 static MetricKind createMetricKind(View.AggregationWindow window, Aggregation aggregation) { in createMetricKind() 260 return MetricKind.GAUGE; in createMetricKind()
|