Home
last modified time | relevance | path

Searched refs:histograms_ (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/webrtc/test/
Dhistogram.cc35 std::map<std::string, SampleInfo> histograms_ GUARDED_BY(histogram_crit_);
42 if (histograms_.find(name) == histograms_.end()) { in HistogramFactoryGetCounts()
43 histograms_.insert(std::make_pair(name, SampleInfo(name))); in HistogramFactoryGetCounts()
45 auto it = histograms_.find(name); in HistogramFactoryGetCounts()
52 if (histograms_.find(name) == histograms_.end()) { in HistogramFactoryGetEnumeration()
53 histograms_.insert(std::make_pair(name, SampleInfo(name))); in HistogramFactoryGetEnumeration()
55 auto it = histograms_.find(name); in HistogramFactoryGetEnumeration()
73 const auto it = histograms_.find(name); in LastHistogramSample()
74 if (it == histograms_.end()) { in LastHistogramSample()
82 const auto it = histograms_.find(name); in NumHistogramSamples()
[all …]
/external/libchrome/base/metrics/
Dstatistics_recorder.cc88 HistogramBase*& registered = top_->histograms_[name]; in RegisterOrDeleteDuplicate()
197 const HistogramMap::const_iterator it = top_->histograms_.find(name); in FindHistogram()
198 return it != top_->histograms_.end() ? it->second : nullptr; in FindHistogram()
250 const HistogramMap::const_iterator it = top_->histograms_.find(name); in SetCallback()
251 if (it != top_->histograms_.end()) in SetCallback()
265 const HistogramMap::const_iterator it = top_->histograms_.find(name); in ClearCallback()
266 if (it != top_->histograms_.end()) in ClearCallback()
283 return top_->histograms_.size(); in GetHistogramCount()
291 const HistogramMap::iterator found = top_->histograms_.find(name); in ForgetHistogramForTesting()
292 if (found == top_->histograms_.end()) in ForgetHistogramForTesting()
[all …]
Dstatistics_recorder.h277 HistogramMap histograms_; variable
/external/brotli/c/enc/
Dmetablock_inc.h27 HistogramType* histograms_; /* not owned */
73 self->histograms_ = *histograms; in FN()
76 FN(HistogramClear)(&self->histograms_[0]); in FN()
88 HistogramType* histograms = self->histograms_; in FN()
176 FN(HistogramAdd)(&self->histograms_[self->curr_histogram_ix_], symbol); in FN()
Dmetablock.c321 HistogramLiteral* histograms_; /* not owned */ member
375 self->histograms_ = *histograms; in InitContextBlockSplitter()
378 ClearHistogramsLiteral(&self->histograms_[0], num_contexts); in InitContextBlockSplitter()
391 HistogramLiteral* histograms = self->histograms_; in ContextBlockSplitterFinishBlock()
412 &self->histograms_[self->curr_histogram_ix_], self->num_contexts_); in ContextBlockSplitterFinishBlock()
461 &self->histograms_[self->curr_histogram_ix_], self->num_contexts_); in ContextBlockSplitterFinishBlock()
511 HistogramAddLiteral(&self->histograms_[self->curr_histogram_ix_ + context], in ContextBlockSplitterAddSymbol()
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dchoose_fastest_dataset_op.cc184 histograms_(dataset()->inputs_.size()) {} in ChooseFastestIterator()
291 std::vector<histogram::Histogram> histograms_; member in tensorflow::data::__anon579bbc700111::ChooseFastestDatasetOp::Dataset::ChooseFastestIterator
315 histograms_[i].Add( in RunnerThread()
329 double best_percentile = histograms_[0].Percentile(kPercentile); in SelectFastestInputIndex()
331 for (size_t i = 1, num_inputs = histograms_.size(); i < num_inputs; in SelectFastestInputIndex()
333 double percentile = histograms_[i].Percentile(kPercentile); in SelectFastestInputIndex()
Dchoose_fastest_branch_dataset_op.cc324 histograms_(dataset()->funcs_.size()) {} in ChooseFastestIterator()
438 DCHECK_LT(branch_index_, histograms_.size()); in GetNextFromExperiment()
444 histograms_[branch_index_].Add( in GetNextFromExperiment()
456 double best_percentile = histograms_[0].Percentile(kPercentile); in SelectFastestInputIndex()
458 for (size_t i = 1, num_inputs = histograms_.size(); i < num_inputs; in SelectFastestInputIndex()
460 double percentile = histograms_[i].Percentile(kPercentile); in SelectFastestInputIndex()
475 DCHECK_LT(branch_index, histograms_.size()); in MakeCurrentIterator()
522 std::vector<histogram::Histogram> histograms_ GUARDED_BY(mu_);
Dstats_aggregator_ops.cc50 histogram::Histogram& histogram = histograms_[name]; in AddToHistogram()
63 for (const auto& pair : histograms_) { in EncodeToProto()
97 std::unordered_map<string, histogram::Histogram> histograms_ GUARDED_BY(mu_);