Home
last modified time | relevance | path

Searched refs:sample_buckets_ (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/webrtc/base/
Dratetracker.cc25 sample_buckets_(new size_t[bucket_count + 1]), in RateTracker()
33 delete[] sample_buckets_; in ~RateTracker()
76 size_t total_samples = ((sample_buckets_[start_bucket] * in ComputeRateForInterval()
84 total_samples += sample_buckets_[i]; in ComputeRateForInterval()
118 sample_buckets_[current_bucket_] = 0u; in AddSamples()
125 sample_buckets_[current_bucket_] += sample_count; in AddSamples()
140 sample_buckets_[current_bucket_] = 0u; in EnsureInitialized()
Dratetracker.h60 size_t* sample_buckets_; variable
/external/libchrome/base/trace_event/
Dtrace_sampling_thread.cc62 for (size_t i = 0; i < sample_buckets_.size(); ++i) { in GetSamples()
63 TraceBucketData* bucket_data = &sample_buckets_[i]; in GetSamples()
76 sample_buckets_.push_back(TraceBucketData(bucket, name, callback)); in RegisterSampleBucket()
Dtrace_sampling_thread.h45 std::vector<TraceBucketData> sample_buckets_; variable