Home
last modified time | relevance | path

Searched refs:counts_ (Results 1 – 6 of 6) sorted by relevance

/external/libchrome/base/metrics/
Dsample_vector.cc21 counts_(&local_counts_[0]), in SampleVector()
33 counts_(counts), in SampleVector()
44 subtle::NoBarrier_Store(&counts_[bucket_index], in Accumulate()
45 subtle::NoBarrier_Load(&counts_[bucket_index]) + count); in Accumulate()
52 return subtle::NoBarrier_Load(&counts_[bucket_index]); in GetCount()
58 count += subtle::NoBarrier_Load(&counts_[i]); in TotalCount()
65 return subtle::NoBarrier_Load(&counts_[bucket_index]); in GetCountAtIndex()
70 new SampleVectorIterator(counts_, counts_size_, bucket_ranges_)); in Iterator()
87 subtle::NoBarrier_Load(&counts_[index]); in AddSubtractImpl()
88 subtle::NoBarrier_Store(&counts_[index], in AddSubtractImpl()
[all …]
Dsample_vector.h64 HistogramBase::AtomicCount* counts_; variable
95 const HistogramBase::AtomicCount* counts_; variable
Dhistogram_unittest.cc344 snapshot->counts_[3] += 100; // Sample count won't match redundant count. in TEST_F()
347 snapshot->counts_[2] -= 200; in TEST_F()
352 snapshot->counts_[1] += 100; in TEST_F()
/external/v8/src/
Dbasic-block-profiler.cc13 : n_blocks_(n_blocks), block_ids_(n_blocks_), counts_(n_blocks_, 0) {} in Data()
47 return &counts_[offset]; in GetCounterAddress()
53 counts_[i] = 0; in ResetCounts()
104 os << "block " << d.block_ids_[i] << " : " << d.counts_[i] << std::endl; in operator <<()
Dbasic-block-profiler.h23 const uint32_t* counts() const { return &counts_[0]; } in counts()
43 std::vector<uint32_t> counts_; variable
/external/v8/test/cctest/
Dtest-ast-expression-visitor.cc28 : AstExpressionVisitor(isolate, expr), counts_(counts) {} in NodeTypeCounter()
32 (*counts_)[expr->node_type()]++; in VisitExpression()
36 Counters* counts_; member in __anona8c424d60111::NodeTypeCounter