Home
last modified time | relevance | path

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

/linux/tools/perf/util/
H A Dauxtrace.c489 static void auxtrace_heapify(struct auxtrace_heap_item *heap_array, in auxtrace_heapify() argument
497 if (heap_array[parent].ordinal <= ordinal) in auxtrace_heapify()
499 heap_array[pos] = heap_array[parent]; in auxtrace_heapify()
502 heap_array[pos].queue_nr = queue_nr; in auxtrace_heapify()
503 heap_array[pos].ordinal = ordinal; in auxtrace_heapify()
509 struct auxtrace_heap_item *heap_array; in auxtrace_heap__add() local
516 heap_array = realloc(heap->heap_array, in auxtrace_heap__add()
518 if (!heap_array) in auxtrace_heap__add()
520 heap->heap_array = heap_array; in auxtrace_heap__add()
524 auxtrace_heapify(heap->heap_array, heap->heap_cnt++, queue_nr, ordinal); in auxtrace_heap__add()
[all …]
H A Dpowerpc-vpadtl.c383 if (vpa->heap.heap_array[0].ordinal >= timestamp) in powerpc_vpadtl_process_queues()
386 queue_nr = vpa->heap.heap_array[0].queue_nr; in powerpc_vpadtl_process_queues()
393 ts = vpa->heap.heap_array[0].ordinal + 1; in powerpc_vpadtl_process_queues()
H A Ds390-cpumsf.c858 if (sf->heap.heap_array[0].ordinal >= timestamp) in s390_cpumsf_process_queues()
861 queue_nr = sf->heap.heap_array[0].queue_nr; in s390_cpumsf_process_queues()
867 ts = sf->heap.heap_array[0].ordinal + 1; in s390_cpumsf_process_queues()
H A Dintel-bts.c566 if (bts->heap.heap_array[0].ordinal > timestamp) in intel_bts_process_queues()
569 queue_nr = bts->heap.heap_array[0].queue_nr; in intel_bts_process_queues()
H A Dauxtrace.h316 struct auxtrace_heap_item *heap_array; member
H A Darm-spe.c1305 if (spe->heap.heap_array[0].ordinal >= timestamp) in arm_spe_process_queues()
1308 queue_nr = spe->heap.heap_array[0].queue_nr; in arm_spe_process_queues()
1315 ts = spe->heap.heap_array[0].ordinal + 1; in arm_spe_process_queues()
H A Dintel-pt.c3226 if (pt->heap.heap_array[0].ordinal >= timestamp) in intel_pt_process_queues()
3229 queue_nr = pt->heap.heap_array[0].queue_nr; in intel_pt_process_queues()
3234 queue_nr, pt->heap.heap_array[0].ordinal, in intel_pt_process_queues()
3240 ts = pt->heap.heap_array[0].ordinal + 1; in intel_pt_process_queues()
H A Dcs-etm.c2644 cs_queue_nr = etm->heap.heap_array[0].queue_nr; in cs_etm__process_timestamped_queues()