Home
last modified time | relevance | path

Searched refs:from_idx (Results 1 – 1 of 1) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/util/perf/
Du_trace.c747 uint32_t from_idx = begin_it.event_idx; in u_trace_clone_append() local
749 while (from_chunk != end_it.chunk || from_idx != end_it.event_idx) { in u_trace_clone_append()
753 from_chunk->num_traces - from_idx); in u_trace_clone_append()
755 to_copy = MIN2(to_copy, end_it.event_idx - from_idx); in u_trace_clone_append()
758 from_idx, to_chunk->timestamps, to_chunk->num_traces, in u_trace_clone_append()
762 &from_chunk->traces[from_idx], in u_trace_clone_append()
777 from_idx += to_copy; in u_trace_clone_append()
779 assert(from_idx <= from_chunk->num_traces); in u_trace_clone_append()
780 if (from_idx == from_chunk->num_traces) { in u_trace_clone_append()
784 from_idx = 0; in u_trace_clone_append()