Lines Matching defs:frame
51 { "frame", INTEL_MEASURE_FRAME },
122 fprintf(stderr, "INTEL_MEASURE start frame may "
135 fprintf(stderr, "INTEL_MEASURE count frame must be positive: %d\n",
210 fputs("draw_start,draw_end,frame,batch,"
217 device->frame = 0;
264 * - at frame boundaries
319 * Notify intel_measure that a frame is about to begin.
321 * Configuration values and the control fifo may commence measurement at frame
325 intel_measure_frame_transition(unsigned frame)
327 if (frame == config.start_frame)
329 else if (frame == config.end_frame)
354 fprintf(stderr, "INTEL_MEASURE invalid frame count on "
362 config.end_frame = frame + fcount;
453 buffered_result->frame = batch->frame;
518 const unsigned start_frame = ringbuffer_peek(rb, 0)->frame;
522 * frame boundary
529 /* Imperfect frame tracking requires us to allow for *older* frames */
530 if (ringbuffer_peek(rb, config.event_interval - 1)->frame <= start_frame) {
531 /* No frame transition. The next {interval} events should be combined. */
535 /* Else a frame transition occurs within the interval. Find the
537 * that starts the new frame.
542 if (ringbuffer_peek(rb, event_index)->frame > start_frame)
549 /* Else we need to search buffered events to find the matching frame
556 const int latest_frame = ringbuffer_peek(rb, event_index)->frame;
608 start_result->frame, start_result->batch_count,
664 batch->frame = 0;