Home
last modified time | relevance | path

Searched refs:samples_ (Results 1 – 16 of 16) sorted by relevance

/external/webrtc/webrtc/modules/video_coding/utility/
Dmoving_average.h30 std::list<T> samples_; variable
39 samples_.push_back(sample); in AddSample()
45 if (num_samples > samples_.size()) in GetAverage()
49 while (num_samples < samples_.size()) { in GetAverage()
50 sum_ -= samples_.front(); in GetAverage()
51 samples_.pop_front(); in GetAverage()
61 samples_.clear(); in Reset()
66 return samples_.size(); in size()
/external/webrtc/webrtc/base/
Drollingaccumulator.h29 : samples_(max_count) { in RollingAccumulator()
36 return samples_.size(); in max_count()
57 T sample_to_remove = samples_[next_index_]; in AddSample()
71 samples_[next_index_] = sample; in AddSample()
101 max_ = samples_[next_index_]; in ComputeMax()
103 max_ = std::max(max_, samples_[(next_index_ + i) % max_count()]); in ComputeMax()
114 min_ = samples_[next_index_]; in ComputeMin()
116 min_ = std::min(min_, samples_[(next_index_ + i) % max_count()]); in ComputeMin()
139 weighted_mean += current_weight * samples_[index]; in ComputeWeightedMean()
166 std::vector<T> samples_; variable
/external/libchrome/base/metrics/
Dsparse_histogram.cc40 return samples_.id(); in name_hash()
66 samples_.Accumulate(value, count); in AddCount()
76 snapshot->Add(samples_); in SnapshotSamples()
82 samples_.Add(samples); in AddSamples()
87 return samples_.AddFromPickle(iter); in AddSamplesFromPickle()
106 samples_(HashMetricName(name)) {} in SparseHistogram()
Dhistogram.cc265 return samples_->id(); in name_hash()
296 samples_->Accumulate(value, count); in AddCount()
306 samples_->Add(samples); in AddSamples()
310 return samples_->AddFromPickle(iter); in AddSamplesFromPickle()
344 samples_.reset(new SampleVector(HashMetricName(name), ranges)); in Histogram()
402 new SampleVector(samples_->id(), bucket_ranges())); in SnapshotSampleVector()
403 samples->Add(*samples_); in SnapshotSampleVector()
Dsparse_histogram.h88 SampleMap samples_; variable
Dhistogram.h276 scoped_ptr<SampleVector> samples_; variable
/external/v8/test/unittests/
Dcounters-unittest.cc19 void AddSample(int value) { samples_.push_back(value); } in AddSample()
20 std::vector<int>* samples() { return &samples_; } in samples()
23 std::vector<int> samples_; member in v8::internal::__anon633e12940111::MockHistogram
/external/v8/src/profiler/
Dsampling-heap-profiler.cc64 samples_(), in SamplingHeapProfiler()
88 for (auto sample : samples_) { in ~SamplingHeapProfiler()
92 samples_.swap(empty); in ~SamplingHeapProfiler()
113 samples_.insert(sample); in SampleObject()
136 sample->profiler->samples_.erase(sample); in OnWeakCallback()
Dprofile-generator.h281 int samples_count() const { return samples_.length(); } in samples_count()
282 ProfileNode* sample(int index) const { return samples_.at(index); } in sample()
300 List<ProfileNode*> samples_; variable
Dsampling-heap-profiler.h148 std::set<Sample*> samples_; variable
Dprofile-generator.cc417 samples_.Add(top_frame_node); in AddPath()
/external/webrtc/webrtc/video/
Dvideo_quality_test.cc485 samples_.push_back( in PerformFrameComparison()
522 std::sort(samples_.begin(), samples_.end(), in PrintSamplesToFile()
528 fprintf(out, "%" PRIuS "\n", samples_.size()); in PrintSamplesToFile()
540 for (const Sample& sample : samples_) { in PrintSamplesToFile()
567 std::vector<Sample> samples_ GUARDED_BY(comparison_lock_);
/external/deqp/modules/gles31/functional/
Des31fFboNoAttachmentTests.cpp320 …FboSpec(int width_, int height_, int samples_) : width(width_), height(height_), samples(samples_)… in FboSpec()
/external/deqp/modules/gles3/functional/
Des3fFragmentOutputTests.cpp79 BufferSpec (deUint32 format_, int width_, int height_, int samples_) in BufferSpec()
83 , samples (samples_) in BufferSpec()
Des3fFboRenderTest.cpp69 …depthStencilType_, deUint32 depthStencilFormat_, int width_ = 0, int height_ = 0, int samples_ = 0) in FboConfig() argument
77 , samples (samples_) in FboConfig()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiObjectManagementTests.cpp753 VkSampleCountFlagBits samples_, in Parameters()
763 , samples (samples_) in Parameters()