Home
last modified time | relevance | path

Searched refs:kHistogram (Results 1 – 5 of 5) sorted by relevance

/external/grpc-grpc/test/core/debug/
Dstats_test.cc85 const int kHistogram = GetParam(); in TEST_P() local
88 auto run = [kHistogram](const std::vector<int>& test_values, in TEST_P()
96 grpc_stats_inc_histogram[kHistogram](j); in TEST_P()
102 .histograms[grpc_stats_histo_start[kHistogram] + expected_bucket], in TEST_P()
104 << "\nhistogram:" << kHistogram in TEST_P()
111 grpc_stats_histo_bucket_boundaries[kHistogram] in TEST_P()
112 [grpc_stats_histo_buckets[kHistogram] - in TEST_P()
115 int expected_bucket = FindExpectedBucket(kHistogram, j); in TEST_P()
124 FindExpectedBucket(kHistogram, j + 1000) == expected_bucket && in TEST_P()
125 FindExpectedBucket(kHistogram, j - 1000) == expected_bucket) { in TEST_P()
/external/tensorflow/tensorflow/core/lib/monitoring/
Dmetric_def.h41 enum class ValueType : int { kInt64 = 0, kHistogram, kString, kBool }; enumerator
57 return ValueType::kHistogram;
Dcollection_registry_test.cc312 EXPECT_EQ(ValueType::kHistogram, ld.value_type); in TEST()
320 EXPECT_EQ(ValueType::kHistogram, ud.value_type); in TEST()
336 EXPECT_EQ(ValueType::kHistogram, lps.points[0]->value_type); in TEST()
347 EXPECT_EQ(ValueType::kHistogram, lps.points[1]->value_type); in TEST()
359 EXPECT_EQ(ValueType::kHistogram, ups.points[0]->value_type); in TEST()
Dcollection_registry.h236 point->value_type = ValueType::kHistogram; in CollectValue()
/external/grpc-grpc/src/cpp/util/
Dcore_stats.cc62 case Metric::kHistogram: in ProtoToCoreStats()