Home
last modified time | relevance | path

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

/src/usr.sbin/pmcstat/
H A Dpmcpl_callgraph.c260 struct pmcstat_cgnode **sortbuffer, **cgn, *pcg; in pmcstat_cgnode_print() local
302 if ((sortbuffer = (struct pmcstat_cgnode **) in pmcstat_cgnode_print()
306 cgn = sortbuffer; in pmcstat_cgnode_print()
311 assert(cgn - sortbuffer == (int) cg->pcg_nchildren); in pmcstat_cgnode_print()
313 qsort(sortbuffer, cg->pcg_nchildren, sizeof(struct pmcstat_cgnode *), in pmcstat_cgnode_print()
316 for (cgn = sortbuffer, n = 0; n < cg->pcg_nchildren; n++, cgn++) in pmcstat_cgnode_print()
319 free(sortbuffer); in pmcstat_cgnode_print()
411 struct pmcstat_cgnode **sortbuffer, **cgn; in pmcstat_callgraph_print_for_pmcid() local
423 if ((sortbuffer = (struct pmcstat_cgnode **) in pmcstat_callgraph_print_for_pmcid()
427 cgn = sortbuffer; in pmcstat_callgraph_print_for_pmcid()
[all …]