Home
last modified time | relevance | path

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

/aosp12/hardware/qcom/sdm845/display/libhistogram/
H A 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()
82 histogram::Ringbuffer::Sample histogram::Ringbuffer::collect_cumulative() const { 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()
100 histogram::Ringbuffer::Sample histogram::Ringbuffer::collect_max(uint32_t max_frames) const { in collect_max()
105 histogram::Ringbuffer::Sample histogram::Ringbuffer::collect_max_after( in collect_max_after()
111 histogram::Ringbuffer::Sample histogram::Ringbuffer::collect_max( in collect_max()
[all …]
H A 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;
H A 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()
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()
212 auto rb = histogram::Ringbuffer::create(2, std::make_unique<TimeKeeperWrapper>(tk)); in TEST_F()
[all …]
H A Dhistogram_collector.h32 class Ringbuffer; variable
64 std::unique_ptr<histogram::Ringbuffer> histogram;
H A Dhistogram_collector.cpp282 histogram(histogram::Ringbuffer::create( in HistogramCollector()
391 …histogram = histogram::Ringbuffer::create(max_frames, std::make_unique<histogram::DefaultTimeKeepe… in start()
/aosp12/hardware/qcom/sm8150/display/libhistogram/
H A 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()
82 histogram::Ringbuffer::Sample histogram::Ringbuffer::collect_cumulative() const { 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()
100 histogram::Ringbuffer::Sample histogram::Ringbuffer::collect_max(uint32_t max_frames) const { in collect_max()
105 histogram::Ringbuffer::Sample histogram::Ringbuffer::collect_max_after( in collect_max_after()
111 histogram::Ringbuffer::Sample histogram::Ringbuffer::collect_max( in collect_max()
[all …]
H A 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;
H A 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()
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()
212 auto rb = histogram::Ringbuffer::create(2, std::make_unique<TimeKeeperWrapper>(tk)); in TEST_F()
[all …]
H A Dhistogram_collector.h36 class Ringbuffer; variable
78 std::unique_ptr<histogram::Ringbuffer> histogram;
H A Dhistogram_collector.cpp46 histogram(histogram::Ringbuffer::create( in HistogramCollector()
152 …histogram = histogram::Ringbuffer::create(max_frames, std::make_unique<histogram::DefaultTimeKeepe… in start()
/aosp12/hardware/qcom/sm7250/display/libhistogram/
H A Dringbuffer.cpp28 histogram::Ringbuffer::Ringbuffer(size_t ringbuffer_size, std::unique_ptr<histogram::TimeKeeper> tk) in Ringbuffer() function in histogram::Ringbuffer
33 std::unique_ptr<histogram::Ringbuffer> histogram::Ringbuffer::create( in create()
37 return std::unique_ptr<histogram::Ringbuffer>( in create()
83 bool histogram::Ringbuffer::resize(size_t ringbuffer_size) { in resize()
93 histogram::Ringbuffer::Sample histogram::Ringbuffer::collect_cumulative() const { in collect_cumulative()
100 histogram::Ringbuffer::Sample histogram::Ringbuffer::collect_ringbuffer_all() const { in collect_ringbuffer_all()
105 histogram::Ringbuffer::Sample histogram::Ringbuffer::collect_after(nsecs_t timestamp) const { in collect_after()
110 histogram::Ringbuffer::Sample histogram::Ringbuffer::collect_max(uint32_t max_frames) const { in collect_max()
115 histogram::Ringbuffer::Sample histogram::Ringbuffer::collect_max_after(nsecs_t timestamp, in collect_max_after()
121 histogram::Ringbuffer::Sample histogram::Ringbuffer::collect_max( in collect_max()
[all …]
H A Dringbuffer.h47 class Ringbuffer {
49 static std::unique_ptr<Ringbuffer> create(size_t ringbuffer_size, std::unique_ptr<TimeKeeper> tk);
59 ~Ringbuffer() = default;
62 Ringbuffer(size_t ringbuffer_size, std::unique_ptr<TimeKeeper> tk);
63 Ringbuffer(Ringbuffer const &) = delete;
64 Ringbuffer &operator=(Ringbuffer const &) = delete;
H A 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()
103 EXPECT_THAT(histogram::Ringbuffer::create(10, nullptr), Eq(nullptr)); in TEST_F()
107 auto rb = histogram::Ringbuffer::create(1, std::make_unique<TickingTimeKeeper>()); in TEST_F()
147 auto rb = histogram::Ringbuffer::create(1, std::make_unique<TimeKeeperWrapper>(tk)); in TEST_F()
163 auto rb = histogram::Ringbuffer::create(3, std::make_unique<TimeKeeperWrapper>(tk)); in TEST_F()
185 auto rb = histogram::Ringbuffer::create(4, std::make_unique<TickingTimeKeeper>()); in TEST_F()
211 auto rb = histogram::Ringbuffer::create(2, std::make_unique<TimeKeeperWrapper>(tk)); in TEST_F()
254 auto rb = histogram::Ringbuffer::create(4, std::make_unique<TimeKeeperWrapper>(tk)); in TEST_F()
[all …]
H A Dhistogram_collector.h36 class Ringbuffer; variable
75 std::unique_ptr<histogram::Ringbuffer> histogram;
H A Dhistogram_collector.cpp46 : histogram(histogram::Ringbuffer::create(implementation_defined_max_frame_ringbuffer, in HistogramCollector()
148 histogram::Ringbuffer::create(max_frames, std::make_unique<histogram::DefaultTimeKeeper>()); in start()
/aosp12/hardware/interfaces/wifi/1.5/default/
H A Dringbuffer.cpp27 Ringbuffer::Ringbuffer(size_t maxSize) : size_(0), maxSize_(maxSize) {} in Ringbuffer() function in android::hardware::wifi::V1_5::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()
50 void Ringbuffer::clear() { in clear()
H A Dringbuffer.h32 class Ringbuffer {
34 explicit Ringbuffer(size_t maxSize);
H A Dwifi_chip.cpp1333 ringbuffer_map_.insert(std::pair<std::string, Ringbuffer>( in startLoggingToDebugRingBufferInternal()
1334 ring_name, Ringbuffer(kMaxBufferSizeBytes))); in startLoggingToDebugRingBufferInternal()
1655 Ringbuffer& cur_buffer = target->second; in registerDebugRingBufferCallback()
1983 Ringbuffer& cur_buffer = item.second; in writeRingbufferFilesInternal()
H A Dwifi_chip.h319 std::map<std::string, Ringbuffer> ringbuffer_map_;
/aosp12/hardware/interfaces/wifi/1.5/default/tests/
H A Dringbuffer_unit_tests.cpp33 Ringbuffer buffer_{maxBufferSize_};