Home
last modified time | relevance | path

Searched refs:samples_ (Results 1 – 20 of 20) 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/v8/src/profiler/
Dsampling-heap-profiler.cc64 samples_(), in SamplingHeapProfiler()
79 samples_.clear(); in ~SamplingHeapProfiler()
100 samples_.emplace(sample); in SampleObject()
132 auto it = std::find_if(sample->profiler->samples_.begin(), in OnWeakCallback()
133 sample->profiler->samples_.end(), in OnWeakCallback()
138 sample->profiler->samples_.erase(it); in OnWeakCallback()
Dprofile-generator.cc416 samples_.push_back(top_frame_node); in AddPath()
421 if (samples_.size() - streaming_next_sample_ >= kSamplesFlushCount || in AddPath()
458 if (pending_nodes.empty() && samples_.empty()) return; in StreamPendingTraceEvents()
461 if (!pending_nodes.empty() || streaming_next_sample_ != samples_.size()) { in StreamPendingTraceEvents()
472 if (streaming_next_sample_ != samples_.size()) { in StreamPendingTraceEvents()
474 for (size_t i = streaming_next_sample_; i < samples_.size(); ++i) { in StreamPendingTraceEvents()
475 value->AppendInteger(samples_[i]->id()); in StreamPendingTraceEvents()
481 if (streaming_next_sample_ != samples_.size()) { in StreamPendingTraceEvents()
492 DCHECK_EQ(samples_.size(), timestamps_.size()); in StreamPendingTraceEvents()
493 streaming_next_sample_ = samples_.size(); in StreamPendingTraceEvents()
Dprofile-generator.h332 int samples_count() const { return static_cast<int>(samples_.size()); } in samples_count()
333 ProfileNode* sample(int index) const { return samples_.at(index); } in sample()
354 std::vector<ProfileNode*> samples_; variable
Dsampling-heap-profiler.h149 std::set<std::unique_ptr<Sample>> samples_; variable
/external/libchrome/base/synchronization/
Dwaitable_event_perftest.cc22 samples_(samples) { in TraceWaitableEvent()
52 size_t samples() const { return samples_; } in samples()
60 const size_t samples_; member in base::__anon1546baea0111::TraceWaitableEvent
/external/libchrome/base/sampling_heap_profiler/
Dsampling_heap_profiler.cc366 samples_.emplace(address, std::move(sample)); in DoRecordAlloc()
392 auto it = samples_.find(address); in DoRecordFree()
393 CHECK(it != samples_.end()); in DoRecordFree()
396 samples_.erase(it); in DoRecordFree()
471 for (auto& it : samples_) { in GetSamples()
Dsampling_heap_profiler.h106 std::unordered_map<void*, Sample> samples_; variable
/external/deqp/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderPassUtil.cpp38 VkSampleCountFlagBits samples_, in AttachmentDescription1() argument
52 samples = samples_; in AttachmentDescription1()
64 VkSampleCountFlagBits samples_, in AttachmentDescription2() argument
76 samples = samples_; in AttachmentDescription2()
/external/deqp/external/openglcts/modules/common/
DglcConfigList.hpp97 … deInt32 blueBits_, deInt32 alphaBits_, deInt32 depthBits_, deInt32 stencilBits_, deInt32 samples_) in AOSPConfig()
107 , samples(samples_) in AOSPConfig()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassTestsUtil.cpp41 VkSampleCountFlagBits samples_, in AttachmentDescription1() argument
55 samples = samples_; in AttachmentDescription1()
67 VkSampleCountFlagBits samples_, in AttachmentDescription2() argument
79 samples = samples_; in AttachmentDescription2()
/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/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_code.cc266 samples_(new Samples(&string_table_, opts)) {} in PprofProfileImpl()
283 samples_->Add(leaf, reversed_call_ids); in AddSample()
363 for (const auto& sample_it : samples_->samples()) { in Build()
379 std::unique_ptr<Samples> samples_; member in tensorflow::tfprof::__anon1c1cedaa0111::PprofProfileImpl
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.hpp102 vk::VkSampleCountFlagBits samples_ = vk::VK_SAMPLE_COUNT_1_BIT, in Parameters()
106 , samples (samples_) in Parameters()
/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.cpp905 VkSampleCountFlagBits samples_, in Parameters()
915 , samples (samples_) in Parameters()
/external/vulkan-headers/include/vulkan/
Dvulkan.hpp17210 SampleCountFlagBits samples_ = SampleCountFlagBits::e1, in AttachmentDescription()
17219 , samples( samples_ ) in AttachmentDescription()
17251 AttachmentDescription & setSamples( SampleCountFlagBits samples_ ) in setSamples()
17253 samples = samples_; in setSamples()
17337 SampleCountFlagBits samples_ = SampleCountFlagBits::e1, in AttachmentDescription2KHR()
17346 , samples( samples_ ) in AttachmentDescription2KHR()
17384 AttachmentDescription2KHR & setSamples( SampleCountFlagBits samples_ ) in setSamples()
17386 samples = samples_; in setSamples()
30788 SampleCountFlagBits samples_ = SampleCountFlagBits::e1, in ImageCreateInfo()
30801 , samples( samples_ ) in ImageCreateInfo()
[all …]