Home
last modified time | relevance | path

Searched refs:Ringbuffer (Results 1 – 10 of 10) sorted by relevance

/hardware/qcom/sdm845/display/libhistogram/
Dringbuffer.cpp25 histogram::Ringbuffer::Ringbuffer(size_t ringbuffer_size, std::unique_ptr<histogram::TimeKeeper> tk… in Ringbuffer() function in histogram::Ringbuffer
32 std::unique_ptr<histogram::Ringbuffer> histogram::Ringbuffer::create( in create()
36 …return std::unique_ptr<histogram::Ringbuffer>(new histogram::Ringbuffer(ringbuffer_size, std::move… in create()
39 void histogram::Ringbuffer::update_cumulative(nsecs_t now, in update_cumulative()
60 void histogram::Ringbuffer::insert(drm_msm_hist const& frame) { in insert()
72 bool histogram::Ringbuffer::resize(size_t ringbuffer_size) { in resize()
82 histogram::Ringbuffer::Sample histogram::Ringbuffer::collect_cumulative() const { in collect_cumulative()
84 histogram::Ringbuffer::Sample sample { cumulative_frame_count, cumulative_bins }; in collect_cumulative()
89 histogram::Ringbuffer::Sample histogram::Ringbuffer::collect_ringbuffer_all() const { in collect_ringbuffer_all()
94 histogram::Ringbuffer::Sample histogram::Ringbuffer::collect_after( in collect_after()
[all …]
Dringbuffer.h47 class Ringbuffer
50 … static std::unique_ptr<Ringbuffer> create(size_t ringbuffer_size, std::unique_ptr<TimeKeeper> tk);
60 ~Ringbuffer() = default;
63 Ringbuffer(size_t ringbuffer_size, std::unique_ptr<TimeKeeper> tk);
64 Ringbuffer(Ringbuffer const&) = delete;
65 Ringbuffer& operator=(Ringbuffer const&) = delete;
Dringbuffer_test.cpp53 void insertFrameIncrementTimeline(histogram::Ringbuffer &rb, TickingTimeKeeper &tk, in insertFrameIncrementTimeline()
72 std::unique_ptr<histogram::Ringbuffer> createFilledRingbuffer( in createFilledRingbuffer()
74 auto rb = histogram::Ringbuffer::create(4, std::make_unique<TimeKeeperWrapper>(tk)); in createFilledRingbuffer()
99 EXPECT_THAT(histogram::Ringbuffer::create(0, std::make_unique<TickingTimeKeeper>()), in TEST_F()
104 EXPECT_THAT(histogram::Ringbuffer::create(10, nullptr), Eq(nullptr)); in TEST_F()
108 auto rb = histogram::Ringbuffer::create(1, std::make_unique<TickingTimeKeeper>()); in TEST_F()
118 auto rb = histogram::Ringbuffer::create(numInsertions, std::make_unique<TimeKeeperWrapper>(tk)); in TEST_F()
148 auto rb = histogram::Ringbuffer::create(1, std::make_unique<TimeKeeperWrapper>(tk)); in TEST_F()
164 auto rb = histogram::Ringbuffer::create(3, std::make_unique<TimeKeeperWrapper>(tk)); in TEST_F()
186 auto rb = histogram::Ringbuffer::create(4, std::make_unique<TickingTimeKeeper>()); in TEST_F()
[all …]
Dhistogram_collector.h32 class Ringbuffer; variable
64 std::unique_ptr<histogram::Ringbuffer> histogram;
Dhistogram_collector.cpp282 histogram(histogram::Ringbuffer::create( in HistogramCollector()
391 …histogram = histogram::Ringbuffer::create(max_frames, std::make_unique<histogram::DefaultTimeKeepe… in start()
/hardware/interfaces/wifi/1.3/default/
Dringbuffer.cpp27 Ringbuffer::Ringbuffer(size_t maxSize) : size_(0), maxSize_(maxSize) {} in Ringbuffer() function in android::hardware::wifi::V1_3::implementation::Ringbuffer
29 void Ringbuffer::append(const std::vector<uint8_t>& input) { in append()
46 const std::list<std::vector<uint8_t>>& Ringbuffer::getData() const { in getData()
Dringbuffer.h32 class Ringbuffer {
34 explicit Ringbuffer(size_t maxSize);
Dwifi_chip.cpp1048 ringbuffer_map_.insert(std::pair<std::string, Ringbuffer>( in startLoggingToDebugRingBufferInternal()
1049 ring_name, Ringbuffer(kMaxBufferSizeBytes))); in startLoggingToDebugRingBufferInternal()
1239 Ringbuffer& cur_buffer = target->second; in registerDebugRingBufferCallback()
1519 const Ringbuffer& cur_buffer = item.second; in writeRingbufferFilesInternal()
Dwifi_chip.h260 std::map<std::string, Ringbuffer> ringbuffer_map_;
/hardware/interfaces/wifi/1.3/default/tests/
Dringbuffer_unit_tests.cpp33 Ringbuffer buffer_{maxBufferSize_};