/external/grpc-grpc/src/core/lib/debug/ |
stats.h | 30 gpr_atm histograms[GRPC_STATS_HISTOGRAM_BUCKETS]; member in struct:grpc_stats_data 46 &GRPC_THREAD_STATS_DATA()->histograms[histogram##_FIRST_SLOT + (index)], \
|
/external/libchrome/base/metrics/ |
histogram_snapshot_manager_unittest.cc | 70 // kNoFlags filter should record all histograms. 78 const std::vector<std::string>& histograms = local 80 EXPECT_EQ(2U, histograms.size()); 81 EXPECT_EQ("UmaHistogram", histograms[0]); 82 EXPECT_EQ("UmaStabilityHistogram", histograms[1]); 94 const std::vector<std::string>& histograms = local 96 EXPECT_EQ(2U, histograms.size()); 97 EXPECT_EQ("UmaHistogram", histograms[0]); 98 EXPECT_EQ("UmaStabilityHistogram", histograms[1]); 110 const std::vector<std::string>& histograms local [all...] |
sparse_histogram_unittest.cc | 26 // for histogram allocation. False will allocate histograms from the process 175 const StatisticsRecorder::Histograms histograms = local 178 ASSERT_THAT(histograms, testing::SizeIs(1)); 179 const HistogramBase* const sparse_histogram = histograms[0]; 203 const StatisticsRecorder::Histograms histograms = local 205 ASSERT_THAT(histograms, testing::SizeIs(2)); 206 EXPECT_STREQ(histograms[0]->histogram_name(), "Sparse0"); 207 EXPECT_STREQ(histograms[1]->histogram_name(), "Sparse1") [all...] |
statistics_recorder.cc | 151 StringAppendF(output, "Collections of histograms for %s\n", query.c_str()); 153 output->append("Collections of all histograms\n"); 164 std::string output = "{\"histograms\":["; 190 // call back into this object to register histograms. Those called methods 226 Histograms histograms = GetHistograms(); local 228 histograms = NonPersistent(std::move(histograms)); 229 snapshot_manager->PrepareDeltas(Sort(std::move(histograms)), flags_to_set, 331 StatisticsRecorder::Histograms StatisticsRecorder::GetHistograms() [all...] |
statistics_recorder_unittest.cc | 70 // Use persistent memory for histograms if so indicated by test parameter. 266 const auto histograms = StatisticsRecorder::GetHistograms(); local 267 EXPECT_THAT(histograms, SizeIs(3)); 268 EXPECT_THAT(StatisticsRecorder::WithName(histograms, ""), SizeIs(3)); 269 EXPECT_THAT(StatisticsRecorder::WithName(histograms, "Test"), SizeIs(3)); 270 EXPECT_THAT(StatisticsRecorder::WithName(histograms, "1"), SizeIs(1)); 271 EXPECT_THAT(StatisticsRecorder::WithName(histograms, "hello"), IsEmpty()); 321 StatisticsRecorder::Histograms registered_histograms; 372 ASSERT_TRUE(root_dict->GetList("histograms", &histogram_list)); 394 ASSERT_TRUE(root_dict->GetList("histograms", &histogram_list)) 410 auto histograms = StatisticsRecorder::GetHistograms(); local [all...] |
/external/webp/src/enc/ |
histogram_enc.h | 12 // Models the histograms of literal and distance codes. 30 // A simple container for histograms of data. 41 uint32_t trivial_symbol_; // True, if histograms for Red, Blue & Alpha 50 // Collection of histograms with fixed capacity, allocated as one 55 VP8LHistogram** histograms; member in struct:__anon49456 85 // Allocate an array of pointer to histograms, allocated and initialized 89 // Set the histograms in set to 0.
|
histogram_enc.c | 31 // Maximum number of histograms allowed in greedy combining algorithm. 123 // Resets the pointers of the histograms to point to the bit buffer in the set. 128 uint8_t* memory = (uint8_t*) (set->histograms); 129 memory += set->max_size * sizeof(*set->histograms); 132 set->histograms[i] = (VP8LHistogram*) memory; 134 set->histograms[i]->literal_ = (uint32_t*)(memory + sizeof(VP8LHistogram)); 155 set->histograms = (VP8LHistogram**)memory; 160 VP8LHistogramInit(set->histograms[i], cache_bits, /*init_arrays=*/ 0); 167 const int cache_bits = set->histograms[0]->palette_code_bits_; 174 set->histograms = (VP8LHistogram**)memory 562 VP8LHistogram** const histograms = image_histo->histograms; local 588 VP8LHistogram** const histograms = image_histo->histograms; local 620 VP8LHistogram** const histograms = image_histo->histograms; local 652 VP8LHistogram** const histograms = image_histo->histograms; local 841 VP8LHistogram** const histograms = image_histo->histograms; local 915 VP8LHistogram** const histograms = image_histo->histograms; local [all...] |
/external/brotli/c/enc/ |
metablock_inc.h | 19 /* We merge histograms A and B if 37 /* Offset of the histograms of the previous two block types. */ 48 BlockSplit* split, HistogramType** histograms, size_t* histograms_size) { 70 BROTLI_DCHECK(*histograms == 0); 72 *histograms = BROTLI_ALLOC(m, HistogramType, *histograms_size); 73 self->histograms_ = *histograms; 88 HistogramType* histograms = self->histograms_; variable 96 BitsEntropy(histograms[0].data_, self->alphabet_size_); 102 FN(HistogramClear)(&histograms[self->curr_histogram_ix_]); 105 double entropy = BitsEntropy(histograms[self->curr_histogram_ix_].data_ [all...] |
metablock.c | 305 Gathers histograms for all context buckets. */ 313 /* We merge histograms A and B if 331 /* Offset of the histograms of the previous two block types. */ 342 size_t num_symbols, BlockSplit* split, HistogramLiteral** histograms, 372 BROTLI_DCHECK(*histograms == 0); 374 *histograms = BROTLI_ALLOC(m, HistogramLiteral, *histograms_size); 375 self->histograms_ = *histograms; 391 HistogramLiteral* histograms = self->histograms_; local 404 BitsEntropy(histograms[i].data_, self->alphabet_size_); 416 /* Try merging the set of histograms for the current block type with th [all...] |
/external/ImageMagick/MagickCore/ |
paint.c | 711 **histograms, 744 histograms=AcquireHistogramThreadSet(NumberPaintBins); 745 if (histograms == (size_t **) NULL) 789 histogram=histograms[GetOpenMPThreadId()]; 865 histograms=DestroyHistogramThreadSet(histograms); 707 **histograms, local [all...] |
/external/pdfium/testing/image_diff/ |
image_diff.cpp | 155 // "Comparing Images Using Joint Histograms" by Pass & Zabih 194 " RGBA value histograms (which is resistant to shifts in layout)\n" 302 bool histograms = false; local 314 histograms = true; 331 return CompareImages(filename1, filename2, histograms);
|
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/qps/ |
AsyncClient.java | 88 List<Histogram> histograms = doBenchmark(req, channels, endTime); local 91 Histogram merged = merge(histograms); 133 List<Histogram> histograms = new ArrayList<>(futures.size()); local 135 histograms.add(future.get()); 137 return histograms; 259 private static Histogram merge(List<Histogram> histograms) { 261 for (Histogram histogram : histograms) {
|