Searched refs:ringbuffer_peek (Results 1 – 1 of 1) sorted by relevance
478 ringbuffer_peek(const struct intel_measure_ringbuffer *rb, unsigned index) in ringbuffer_peek() function513 const unsigned start_frame = ringbuffer_peek(rb, 0)->frame; in buffered_event_count()525 if (ringbuffer_peek(rb, config.event_interval - 1)->frame <= start_frame) { in buffered_event_count()537 if (ringbuffer_peek(rb, event_index)->frame > start_frame) in buffered_event_count()551 const int latest_frame = ringbuffer_peek(rb, event_index)->frame; in buffered_event_count()