Lines Matching refs:stats
171 struct bitset_type_info_struct *stats)
173 if (!stats)
178 stats->allocs, stats->frees,
179 stats->allocs ? 100.0 * stats->frees / stats->allocs : 0);
181 stats->sets, stats->cache_sets,
182 stats->sets ? 100.0 * stats->cache_sets / stats->sets : 0);
184 stats->resets, stats->cache_resets,
185 stats->resets ? 100.0 * stats->cache_resets / stats->resets : 0);
187 stats->tests, stats->cache_tests,
188 stats->tests ? 100.0 * stats->cache_tests / stats->tests : 0);
190 fprintf (file, _("%u bitset_lists\n"), stats->lists);
193 BITSET_LOG_COUNT_BINS, stats->list_counts);
196 BITSET_LOG_SIZE_BINS, stats->list_sizes);
199 BITSET_DENSITY_BINS, stats->list_density);
259 perror (_("cannot read stats file"));
261 fprintf (stderr, _("bad stats file size\n"));
264 perror (_("cannot read stats file"));
287 perror (_("cannot write stats file"));
289 perror (_("cannot write stats file"));
292 perror (_("cannot open stats file for writing"));
304 /* Function to be called from debugger to print bitset stats. */