Home
last modified time | relevance | path

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

/freebsd/usr.sbin/pmcstat/
H A Dpmcpl_calltree.c71 ((a) < (b)->npmcs ? (b)->sb[a] : 0)
78 int npmcs; /* Max pmc index available. */ member
166 samples->npmcs = 0; in pmcpl_ct_samples_init()
178 samples->npmcs = 0; in pmcpl_ct_samples_free()
190 unsigned int npmcs; in pmcpl_ct_samples_grow() local
193 if (pmcstat_npmcs <= samples->npmcs) in pmcpl_ct_samples_grow()
196 npmcs = samples->npmcs + in pmcpl_ct_samples_grow()
197 max(pmcstat_npmcs - samples->npmcs, PMCPL_CT_GROWSIZE); in pmcpl_ct_samples_grow()
198 samples->sb = reallocarray(samples->sb, npmcs, sizeof(unsigned)); in pmcpl_ct_samples_grow()
201 bzero((char *)samples->sb + samples->npmcs * sizeof(unsigned), in pmcpl_ct_samples_grow()
[all …]