Searched refs:counts_ (Results 1 – 9 of 9) sorted by relevance
/external/v8/src/ |
D | basic-block-profiler.cc | 28 counts_(n_blocks_, 0) {} in Data() 61 return reinterpret_cast<intptr_t>(&(counts_[offset])); in GetCounterAddress() 67 counts_[i] = 0; in ResetCounts() 109 int block_count_sum = std::accumulate(d.counts_.begin(), d.counts_.end(), 0); in operator <<() 116 os << "schedule for " << name << " (B0 entered " << d.counts_[0] in operator <<() 124 pairs.push_back(std::make_pair(d.block_rpo_numbers_[i], d.counts_[i])); in operator <<()
|
D | basic-block-profiler.h | 25 const uint32_t* counts() const { return &counts_[0]; } in counts() 45 std::vector<uint32_t> counts_; variable
|
/external/libtextclassifier/lang_id/features/ |
D | char-ngram-feature.cc | 55 counts_.assign(ngram_id_dimension_, 0); in Setup() 66 SAFTM_CHECK_EQ(counts_.size(), ngram_id_dimension_); in ComputeNgramCounts() 102 int &ref_to_count_for_ngram = counts_[ngram_id]; in ComputeNgramCounts() 140 const float weight = counts_[ngram_id] / norm; in Evaluate() 145 counts_[ngram_id] = 0; in Evaluate()
|
D | char-ngram-feature.h | 81 mutable std::vector<int> counts_; variable
|
/external/libchrome/base/metrics/ |
D | sample_vector.h | 76 subtle::Acquire_Load(&counts_)); in counts() 81 subtle::Acquire_Load(&counts_)); in counts() 85 subtle::Release_Store(&counts_, reinterpret_cast<uintptr_t>(counts)); in set_counts() 106 mutable subtle::AtomicWord counts_ = 0; variable 176 const HistogramBase::AtomicCount* counts_; variable
|
D | sample_vector.cc | 265 if (subtle::NoBarrier_Load(&counts_) == 0) { in MountCountsStorageAndMoveSingleSample() 267 if (subtle::NoBarrier_Load(&counts_) == 0) { in MountCountsStorageAndMoveSingleSample() 367 : counts_(&(*counts)[0]), in SampleVectorIterator() 379 : counts_(counts), in SampleVectorIterator() 408 *count = subtle::NoBarrier_Load(&counts_[index_]); in Get() 423 if (subtle::NoBarrier_Load(&counts_[index_]) != 0) in SkipEmptyBuckets()
|
/external/tensorflow/tensorflow/contrib/distributions/python/ops/ |
D | test_util.py | 97 [counts_, probs_] = sess_run_fn([counts, probs]) 98 valid = counts_ > num_threshold 100 counts_ = counts_[valid] 101 self.assertAllClose(probs_, counts_ / num_samples,
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | executor.cc | 952 counts_(*pending_counts) { // Initialize with copy of *pending_counts in IterationState() 972 int pending(PendingCounts::Handle h) { return counts_.pending(h); } in pending() 974 return counts_.decrement_pending(h, v); in decrement_pending() 978 void mark_live(PendingCounts::Handle h) { counts_.mark_live(h); } in mark_live() 980 void mark_started(PendingCounts::Handle h) { counts_.mark_started(h); } in mark_started() 982 void mark_completed(PendingCounts::Handle h) { counts_.mark_completed(h); } in mark_completed() 984 return counts_.node_state(h); in node_state() 987 int dead_count(PendingCounts::Handle h) { return counts_.dead_count(h); } in dead_count() 989 counts_.increment_dead_count(h); in increment_dead_count() 993 counts_.adjust_for_activation(h, increment_dead, pending_result, in adjust_for_activation() [all …]
|
/external/perfetto/src/trace_processor/ |
D | trace_storage.h | 708 counts_.emplace_back(row.count); in Insert() 715 const std::deque<int64_t>& counts() const { return counts_; } in counts() 722 std::deque<int64_t> counts_; variable
|