Searched refs:ringbuffer (Results 1 – 9 of 9) sorted by relevance
43 if (ringbuffer.empty()) in update_cumulative()50 std::chrono::nanoseconds(now - ringbuffer.front().start_timestamp)); 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()74 if (ringbuffer.size() == rb_max_size) in insert()75 ringbuffer.pop_back(); in insert()76 if (!ringbuffer.empty()) in insert()77 ringbuffer.front().end_timestamp = now; in insert()80 ringbuffer.push_front({frame, now, 0}); in insert()[all …]
78 std::deque<HistogramEntry> ringbuffer; variable
42 if (ringbuffer.empty()) in update_cumulative()48 std::chrono::nanoseconds(now - ringbuffer.front().start_timestamp)); in update_cumulative()51 auto const increment = ringbuffer.front().histogram.data[i] * delta.count(); in update_cumulative()52 …if (CC_UNLIKELY((bins[i] + increment < bins[i]) || (increment < ringbuffer.front().histogram.data[… in update_cumulative()65 if (ringbuffer.size() == rb_max_size) in insert()66 ringbuffer.pop_back(); in insert()67 if (!ringbuffer.empty()) in insert()68 ringbuffer.front().end_timestamp = now; in insert()69 ringbuffer.push_front({frame, now, 0}); in insert()77 if (ringbuffer.size() > rb_max_size) in resize()[all …]
23 LOCAL_SRC_FILES := histogram_collector.cpp ringbuffer.cpp
77 std::deque<HistogramEntry> ringbuffer; variable
28 "p73/utils/ringbuffer.cpp",
25 "libese-spi/p73/utils/ringbuffer.cpp",
82 "ringbuffer.cpp",
323 * NO_RESOURCES when the requested ringbuffer size via maxFrames was