/aosp12/hardware/qcom/sdm845/display/libhistogram/ |
H A D | ringbuffer.cpp | 25 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 D | ringbuffer.h | 47 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 D | ringbuffer_test.cpp | 53 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 D | histogram_collector.h | 32 class Ringbuffer; variable 64 std::unique_ptr<histogram::Ringbuffer> histogram;
|
H A D | histogram_collector.cpp | 282 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 D | ringbuffer.cpp | 25 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 D | ringbuffer.h | 47 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 D | ringbuffer_test.cpp | 53 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 D | histogram_collector.h | 36 class Ringbuffer; variable 78 std::unique_ptr<histogram::Ringbuffer> histogram;
|
H A D | histogram_collector.cpp | 46 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 D | ringbuffer.cpp | 28 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 D | ringbuffer.h | 47 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 D | ringbuffer_test.cpp | 53 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 D | histogram_collector.h | 36 class Ringbuffer; variable 75 std::unique_ptr<histogram::Ringbuffer> histogram;
|
H A D | histogram_collector.cpp | 46 : 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 D | ringbuffer.cpp | 27 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 D | ringbuffer.h | 32 class Ringbuffer { 34 explicit Ringbuffer(size_t maxSize);
|
H A D | wifi_chip.cpp | 1333 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 D | wifi_chip.h | 319 std::map<std::string, Ringbuffer> ringbuffer_map_;
|
/aosp12/hardware/interfaces/wifi/1.5/default/tests/ |
H A D | ringbuffer_unit_tests.cpp | 33 Ringbuffer buffer_{maxBufferSize_};
|