Home
last modified time | relevance | path

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

/Linux-v4.19/tools/perf/util/
Dauxtrace.c427 static void auxtrace_heapify(struct auxtrace_heap_item *heap_array, in auxtrace_heapify() argument
435 if (heap_array[parent].ordinal <= ordinal) in auxtrace_heapify()
437 heap_array[pos] = heap_array[parent]; in auxtrace_heapify()
440 heap_array[pos].queue_nr = queue_nr; in auxtrace_heapify()
441 heap_array[pos].ordinal = ordinal; in auxtrace_heapify()
447 struct auxtrace_heap_item *heap_array; in auxtrace_heap__add() local
454 heap_array = realloc(heap->heap_array, in auxtrace_heap__add()
456 if (!heap_array) in auxtrace_heap__add()
458 heap->heap_array = heap_array; in auxtrace_heap__add()
462 auxtrace_heapify(heap->heap_array, heap->heap_cnt++, queue_nr, ordinal); in auxtrace_heap__add()
[all …]
Ds390-cpumsf.c703 if (sf->heap.heap_array[0].ordinal >= timestamp) in s390_cpumsf_process_queues()
706 queue_nr = sf->heap.heap_array[0].queue_nr; in s390_cpumsf_process_queues()
712 ts = sf->heap.heap_array[0].ordinal + 1; in s390_cpumsf_process_queues()
Dintel-bts.c580 if (bts->heap.heap_array[0].ordinal > timestamp) in intel_bts_process_queues()
583 queue_nr = bts->heap.heap_array[0].queue_nr; in intel_bts_process_queues()
Dauxtrace.h245 struct auxtrace_heap_item *heap_array; member
Dintel-pt.c1721 if (pt->heap.heap_array[0].ordinal >= timestamp) in intel_pt_process_queues()
1724 queue_nr = pt->heap.heap_array[0].queue_nr; in intel_pt_process_queues()
1729 queue_nr, pt->heap.heap_array[0].ordinal, in intel_pt_process_queues()
1735 ts = pt->heap.heap_array[0].ordinal + 1; in intel_pt_process_queues()