Lines Matching refs:heap
43 struct auxtrace_heap heap;
661 * record into auxtrace heap, thus the record can be deferred to
754 ret = auxtrace_heap__add(&spe->heap, queue_nr, speq->timestamp);
815 if (!spe->heap.heap_cnt)
818 if (spe->heap.heap_array[0].ordinal >= timestamp)
821 queue_nr = spe->heap.heap_array[0].queue_nr;
825 auxtrace_heap__pop(&spe->heap);
827 if (spe->heap.heap_cnt) {
828 ts = spe->heap.heap_array[0].ordinal + 1;
844 auxtrace_heap__add(&spe->heap, queue_nr, ts);
849 ret = auxtrace_heap__add(&spe->heap, queue_nr, ts);
1050 auxtrace_heap__free(&spe->heap);