Searched refs:ringbuffer (Results 1 – 9 of 9) sorted by relevance
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 …]
20 LOCAL_SRC_FILES := histogram_collector.cpp ringbuffer.cpp
77 std::deque<HistogramEntry> ringbuffer; variable
47 ringbuffer.cpp \
16 "libese-spi/p73/utils/ringbuffer.cpp",
323 * NO_RESOURCES when the requested ringbuffer size via maxFrames was