Lines Matching refs:histogram
24 nsecs_t histogram::DefaultTimeKeeper::current_time() const { in current_time()
28 histogram::Ringbuffer::Ringbuffer(size_t ringbuffer_size, std::unique_ptr<histogram::TimeKeeper> tk) in Ringbuffer()
33 std::unique_ptr<histogram::Ringbuffer> histogram::Ringbuffer::create( in create()
34 size_t ringbuffer_size, std::unique_ptr<histogram::TimeKeeper> tk) { in create()
37 return std::unique_ptr<histogram::Ringbuffer>( in create()
38 new histogram::Ringbuffer(ringbuffer_size, std::move(tk))); in create()
41 void histogram::Ringbuffer::update_cumulative(nsecs_t now, uint64_t &count, in update_cumulative()
53 ALOGI("histogram.data[%d]: %u\n", i, ringbuffer.front().histogram.data[i]); in update_cumulative()
54 auto const increment = ringbuffer.front().histogram.data[i] * delta.count(); in update_cumulative()
56 (increment < ringbuffer.front().histogram.data[i]))) { in update_cumulative()
65 void histogram::Ringbuffer::insert(drm_msm_hist const &frame) { in insert()
83 bool histogram::Ringbuffer::resize(size_t ringbuffer_size) { in resize()
93 histogram::Ringbuffer::Sample histogram::Ringbuffer::collect_cumulative() const { in collect_cumulative()
95 histogram::Ringbuffer::Sample sample{cumulative_frame_count, cumulative_bins}; 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()
137 bins[i] += it->histogram.data[i] * delta.count(); in collect_max()
143 histogram::Ringbuffer::Sample histogram::Ringbuffer::collect_max_after( in collect_max_after()