Searched refs:buckets (Results 1 - 4 of 4) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/libkern/c++/
H A DOSSymbol.cpp79 Bucket *buckets; member in class:OSSymbolPool
149 buckets = (Bucket *) kalloc(nBuckets * sizeof(Bucket));
151 if (!buckets)
154 bzero(buckets, nBuckets * sizeof(Bucket));
165 buckets = old->buckets;
172 if (buckets) {
173 kfree(buckets, nBuckets * sizeof(Bucket));
203 Bucket *thisBucket = &buckets[stateP->i];
249 buckets
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/profiling/i386/
H A Dprofile-md.c91 * Calculate percentages for # of hash buckets.
162 * Always print out the # of profil buckets.
177 * Print number of profil buckets field in _profile_stats.
798 pv->stats.buckets[i] = 0;
812 pv->stats.buckets[ (nbuckets < MAX_BUCKETS) ? nbuckets : MAX_BUCKETS ]++;
964 fprintf(stream, "%12lu profil buckets\n", (long unsigned)stats->profil_buckets);
1061 total_buckets += (long double)stats->buckets[i];
1066 if (stats->buckets[i] != 0) {
1068 (long unsigned)stats->buckets[i], i,
1069 100.0L * ((long double)stats->buckets[
[all...]
H A Dprofile-md.h259 * Fraction of text space to allocate for from hash buckets.
325 prof_uptrint_t profil_buckets; /* # profil buckets */
330 prof_uptrint_t hash_buckets; /* # gprof hash buckets */
336 prof_cnt_t hash_search; /* # hash buckets searched */
355 prof_uptrint_t buckets[MAX_BUCKETS+1]; /* # hash indexes that have n buckets */ member in struct:profile_stats
H A Dprofile-asm.s171 * Add # profil buckets field to _profil_stats.
532 LCL(profil_buckets) = LCL(stats_size)+4 /* # profil buckets */
537 LCL(hash_buckets) = LCL(gprof_records)+4 /* max gprof hash buckets on a chain */
543 LCL(hash_search) = LCL(old_mcount)+8 /* # gprof hash buckets searched */
559 LCL(buckets) = LCL(overhead)+4*C_max /* # hash indexes that have n buckets */
560 LCL(cache_hits1) = LCL(buckets)+4*10 /* # gprof cache hits in bucket #1 */

Completed in 36 milliseconds