Searched refs:heap_array (Results 1 – 4 of 4) sorted by relevance
405 static void auxtrace_heapify(struct auxtrace_heap_item *heap_array, in auxtrace_heapify() argument413 if (heap_array[parent].ordinal <= ordinal) in auxtrace_heapify()415 heap_array[pos] = heap_array[parent]; in auxtrace_heapify()418 heap_array[pos].queue_nr = queue_nr; in auxtrace_heapify()419 heap_array[pos].ordinal = ordinal; in auxtrace_heapify()425 struct auxtrace_heap_item *heap_array; in auxtrace_heap__add() local432 heap_array = realloc(heap->heap_array, in auxtrace_heap__add()434 if (!heap_array) in auxtrace_heap__add()436 heap->heap_array = heap_array; in auxtrace_heap__add()440 auxtrace_heapify(heap->heap_array, heap->heap_cnt++, queue_nr, ordinal); in auxtrace_heap__add()[all …]
582 if (bts->heap.heap_array[0].ordinal > timestamp) in intel_bts_process_queues()585 queue_nr = bts->heap.heap_array[0].queue_nr; in intel_bts_process_queues()
235 struct auxtrace_heap_item *heap_array; member
1539 if (pt->heap.heap_array[0].ordinal >= timestamp) in intel_pt_process_queues()1542 queue_nr = pt->heap.heap_array[0].queue_nr; in intel_pt_process_queues()1547 queue_nr, pt->heap.heap_array[0].ordinal, in intel_pt_process_queues()1553 ts = pt->heap.heap_array[0].ordinal + 1; in intel_pt_process_queues()