Home
last modified time | relevance | path

Searched refs:histograms (Results 1 – 25 of 39) sorted by relevance

12

/external/webp/src/enc/
Dhistogram_enc.c128 uint8_t* memory = (uint8_t*) (set->histograms); in HistogramSetResetPointers()
129 memory += set->max_size * sizeof(*set->histograms); in HistogramSetResetPointers()
132 set->histograms[i] = (VP8LHistogram*) memory; in HistogramSetResetPointers()
134 set->histograms[i]->literal_ = (uint32_t*)(memory + sizeof(VP8LHistogram)); in HistogramSetResetPointers()
155 set->histograms = (VP8LHistogram**)memory; in VP8LAllocateHistogramSet()
160 VP8LHistogramInit(set->histograms[i], cache_bits, /*init_arrays=*/ 0); in VP8LAllocateHistogramSet()
167 const int cache_bits = set->histograms[0]->palette_code_bits_; in VP8LHistogramSetClear()
174 set->histograms = (VP8LHistogram**)memory; in VP8LHistogramSetClear()
179 set->histograms[i]->palette_code_bits_ = cache_bits; in VP8LHistogramSetClear()
186 assert(set->histograms[i] != NULL); in HistogramSetRemoveHistogram()
[all …]
Dhistogram_enc.h55 VP8LHistogram** histograms; member
/external/libchrome/base/metrics/
Dhistogram_snapshot_manager_unittest.cc78 const std::vector<std::string>& histograms = in TEST_F() local
80 EXPECT_EQ(2U, histograms.size()); in TEST_F()
81 EXPECT_EQ("UmaHistogram", histograms[0]); in TEST_F()
82 EXPECT_EQ("UmaStabilityHistogram", histograms[1]); in TEST_F()
94 const std::vector<std::string>& histograms = in TEST_F() local
96 EXPECT_EQ(2U, histograms.size()); in TEST_F()
97 EXPECT_EQ("UmaHistogram", histograms[0]); in TEST_F()
98 EXPECT_EQ("UmaStabilityHistogram", histograms[1]); in TEST_F()
110 const std::vector<std::string>& histograms = in TEST_F() local
112 EXPECT_EQ(1U, histograms.size()); in TEST_F()
[all …]
Dstatistics_recorder.cc226 Histograms histograms = GetHistograms(); in PrepareDeltas() local
228 histograms = NonPersistent(std::move(histograms)); in PrepareDeltas()
229 snapshot_manager->PrepareDeltas(Sort(std::move(histograms)), flags_to_set, in PrepareDeltas()
350 StatisticsRecorder::Histograms StatisticsRecorder::Sort(Histograms histograms) { in Sort() argument
351 std::sort(histograms.begin(), histograms.end(), &HistogramNameLesser); in Sort()
352 return histograms; in Sort()
357 Histograms histograms, in WithName() argument
361 histograms.erase(std::remove_if(histograms.begin(), histograms.end(), in WithName()
366 histograms.end()); in WithName()
367 return histograms; in WithName()
[all …]
Dstatistics_recorder_unittest.cc266 const auto histograms = StatisticsRecorder::GetHistograms(); in TEST_P() local
267 EXPECT_THAT(histograms, SizeIs(3)); in TEST_P()
268 EXPECT_THAT(StatisticsRecorder::WithName(histograms, ""), SizeIs(3)); in TEST_P()
269 EXPECT_THAT(StatisticsRecorder::WithName(histograms, "Test"), SizeIs(3)); in TEST_P()
270 EXPECT_THAT(StatisticsRecorder::WithName(histograms, "1"), SizeIs(1)); in TEST_P()
271 EXPECT_THAT(StatisticsRecorder::WithName(histograms, "hello"), IsEmpty()); in TEST_P()
410 auto histograms = StatisticsRecorder::GetHistograms(); in TEST_P() local
411 EXPECT_THAT(histograms, SizeIs(2)); in TEST_P()
412 histograms = StatisticsRecorder::NonPersistent(std::move(histograms)); in TEST_P()
413 EXPECT_THAT(histograms, SizeIs(use_persistent_histogram_allocator_ ? 0 : 2)); in TEST_P()
[all …]
Dsparse_histogram_unittest.cc175 const StatisticsRecorder::Histograms histograms = in TEST_P() local
178 ASSERT_THAT(histograms, testing::SizeIs(1)); in TEST_P()
179 const HistogramBase* const sparse_histogram = histograms[0]; in TEST_P()
203 const StatisticsRecorder::Histograms histograms = in TEST_P() local
205 ASSERT_THAT(histograms, testing::SizeIs(2)); in TEST_P()
206 EXPECT_STREQ(histograms[0]->histogram_name(), "Sparse0"); in TEST_P()
207 EXPECT_STREQ(histograms[1]->histogram_name(), "Sparse1"); in TEST_P()
Dstatistics_recorder.h215 static Histograms Sort(Histograms histograms);
219 static Histograms WithName(Histograms histograms, const std::string& query);
222 static Histograms NonPersistent(Histograms histograms);
Dhistogram_snapshot_manager.cc47 const std::vector<HistogramBase*>& histograms, in PrepareDeltas() argument
50 for (HistogramBase* const histogram : histograms) { in PrepareDeltas()
Dhistogram_snapshot_manager.h42 void PrepareDeltas(const std::vector<HistogramBase*>& histograms,
/external/brotli/c/enc/
Dmetablock_inc.h48 BlockSplit* split, HistogramType** histograms, size_t* histograms_size) { in FN()
70 BROTLI_DCHECK(*histograms == 0); in FN()
72 *histograms = BROTLI_ALLOC(m, HistogramType, *histograms_size); in FN()
73 self->histograms_ = *histograms; in FN()
88 HistogramType* histograms = self->histograms_; in FN() local
96 BitsEntropy(histograms[0].data_, self->alphabet_size_); in FN()
102 FN(HistogramClear)(&histograms[self->curr_histogram_ix_]); in FN()
105 double entropy = BitsEntropy(histograms[self->curr_histogram_ix_].data_, in FN()
113 combined_histo[j] = histograms[self->curr_histogram_ix_]; in FN()
115 &histograms[last_histogram_ix]); in FN()
[all …]
Dblock_splitter_inc.h15 HistogramType* histograms) { in FN()
19 FN(ClearHistograms)(histograms, num_histograms); in FN()
28 FN(HistogramAddVector)(&histograms[i], data + pos, stride); in FN()
49 HistogramType* histograms) { in FN()
59 FN(HistogramAddHistogram)(&histograms[iter % num_histograms], &sample); in FN()
69 const HistogramType* histograms, in FN()
88 insert_cost[i] = FastLog2((uint32_t)histograms[i].total_count_); in FN()
94 insert_cost[j] - BitCost(histograms[j].data_[i]); in FN()
180 HistogramType* histograms) { in FN()
182 FN(ClearHistograms)(histograms, num_histograms); in FN()
[all …]
Dmetablock.c342 size_t num_symbols, BlockSplit* split, HistogramLiteral** histograms, in InitContextBlockSplitter() argument
372 BROTLI_DCHECK(*histograms == 0); in InitContextBlockSplitter()
374 *histograms = BROTLI_ALLOC(m, HistogramLiteral, *histograms_size); in InitContextBlockSplitter()
375 self->histograms_ = *histograms; in InitContextBlockSplitter()
391 HistogramLiteral* histograms = self->histograms_; in ContextBlockSplitterFinishBlock() local
404 BitsEntropy(histograms[i].data_, self->alphabet_size_); in ContextBlockSplitterFinishBlock()
430 entropy[i] = BitsEntropy(histograms[curr_histo_ix].data_, in ContextBlockSplitterFinishBlock()
435 combined_histo[jx] = histograms[curr_histo_ix]; in ContextBlockSplitterFinishBlock()
437 &histograms[last_histogram_ix]); in ContextBlockSplitterFinishBlock()
472 histograms[self->last_histogram_ix_[0] + i] = in ContextBlockSplitterFinishBlock()
[all …]
Dblock_encoder_inc.h15 const HistogramType* histograms, const size_t histograms_size, in FN()
27 BuildAndStoreHuffmanTree(&histograms[i].data_[0], self->histogram_length_, in FN()
/external/tensorflow/tensorflow/python/kernel_tests/distributions/
Dcategorical_test.py131 histograms = [[0.2, 0.8], [0.6, 0.4]]
132 dist = categorical.Categorical(math_ops.log(histograms) - 50.)
138 histograms = [0.2, 0.8]
139 dist = categorical.Categorical(math_ops.log(histograms) - 50.)
147 histograms = array_ops.placeholder(dtype=dtypes.float32,
150 dist = categorical.Categorical(probs=histograms)
159 histograms: histograms_feed_one,
169 histograms: histograms_feed_two,
185 self, events, histograms, expected_cdf): argument
188 histograms_ph = array_ops.placeholder_with_default(histograms, shape=None)
[all …]
/external/grpc-grpc/src/core/lib/debug/
Dstats.cc51 output->histograms[i] += gpr_atm_no_barrier_load( in grpc_stats_collect()
52 &grpc_stats_per_cpu_storage[core].histograms[i]); in grpc_stats_collect()
63 c->histograms[i] = b->histograms[i] - a->histograms[i]; in grpc_stats_diff()
89 stats->histograms[grpc_stats_histo_start[histogram] + i]); in grpc_stats_histo_count()
137 stats->histograms + grpc_stats_histo_start[histogram], in grpc_stats_histo_percentile()
161 data->histograms[grpc_stats_histo_start[i] + j]); in grpc_stats_data_as_json()
Dstats.h30 gpr_atm histograms[GRPC_STATS_HISTOGRAM_BUCKETS]; member
46 &GRPC_THREAD_STATS_DATA()->histograms[histogram##_FIRST_SLOT + (index)], \
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/qps/
DAsyncClient.java88 List<Histogram> histograms = doBenchmark(req, channels, endTime); in run() local
91 Histogram merged = merge(histograms); in run()
133 List<Histogram> histograms = new ArrayList<>(futures.size()); in doBenchmark() local
135 histograms.add(future.get()); in doBenchmark()
137 return histograms; in doBenchmark()
259 private static Histogram merge(List<Histogram> histograms) { in merge() argument
261 for (Histogram histogram : histograms) { in merge()
/external/bcc/tools/
Dsoftirqs_example.txt187 Summarize soft irq event time as histograms
197 -d, --dist show distributions as histograms
201 ./softirqs -d # show soft irq event time as histograms
Dhardirqs_example.txt655 Summarize hard irq event time as histograms
666 -d, --dist show distributions as histograms
670 ./hardirqs -d # show hard irq event time as histograms
Dbpflist_example.txt17 (such as hashes, histograms, stack trace tables, and so on).
/external/grpc-grpc/src/cpp/util/
Dcore_stats.cc43 b->set_count(core.histograms[grpc_stats_histo_start[i] + j]); in CoreStatsToProto()
80 core->histograms[grpc_stats_histo_start[i] + j] = in ProtoToCoreStats()
/external/pdfium/testing/image_diff/
Dimage_diff.cpp302 bool histograms = false; in main() local
314 histograms = true; in main()
331 return CompareImages(filename1, filename2, histograms); in main()
/external/ImageMagick/MagickCore/
Dpaint.c707 **histograms, in OilPaintImage() local
740 histograms=AcquireHistogramThreadSet(NumberPaintBins); in OilPaintImage()
741 if (histograms == (size_t **) NULL) in OilPaintImage()
785 histogram=histograms[GetOpenMPThreadId()]; in OilPaintImage()
861 histograms=DestroyHistogramThreadSet(histograms); in OilPaintImage()
/external/grpc-grpc/test/core/debug/
Dstats_test.cc102 .histograms[grpc_stats_histo_start[kHistogram] + expected_bucket], in TEST_P()
/external/libchrome/libchrome_tools/patch/
Dvirtual_destructor.patch38 // histograms from providers when necessary.

12