Lines Matching refs:stats

254     METER(memset(&table->stats, 0, sizeof table->stats));
369 METER(table->stats.removeEnums++);
389 METER(table->stats.searches++);
399 METER(table->stats.misses++);
406 METER(table->stats.hits++);
425 METER(table->stats.steps++);
431 METER(table->stats.misses++);
437 METER(table->stats.hits++);
536 METER(table->stats.lookups++);
550 METER(table->stats.compresses++);
553 METER(table->stats.grows++);
563 METER(table->stats.addFailures++);
575 METER(table->stats.addMisses++);
577 METER(table->stats.addOverRemoved++);
590 METER(else table->stats.addHits++);
597 METER(table->stats.removeHits++);
608 METER(table->stats.shrinks++);
612 METER(else table->stats.removeMisses++);
636 METER(table->stats.removeFrees++);
680 METER(table->stats.removeEnums++);
704 METER(table->stats.enumShrinks++);
787 fprintf(fp, " number of searches: %u\n", table->stats.searches);
788 fprintf(fp, " number of hits: %u\n", table->stats.hits);
789 fprintf(fp, " number of misses: %u\n", table->stats.misses);
790 fprintf(fp, " mean steps per search: %g\n", table->stats.searches ?
791 (double)table->stats.steps
792 / table->stats.searches :
797 fprintf(fp, " number of lookups: %u\n", table->stats.lookups);
798 fprintf(fp, " adds that made a new entry: %u\n", table->stats.addMisses);
799 fprintf(fp, "adds that recycled removeds: %u\n", table->stats.addOverRemoved);
800 fprintf(fp, " adds that found an entry: %u\n", table->stats.addHits);
801 fprintf(fp, " add failures: %u\n", table->stats.addFailures);
802 fprintf(fp, " useful removes: %u\n", table->stats.removeHits);
803 fprintf(fp, " useless removes: %u\n", table->stats.removeMisses);
804 fprintf(fp, "removes that freed an entry: %u\n", table->stats.removeFrees);
805 fprintf(fp, " removes while enumerating: %u\n", table->stats.removeEnums);
806 fprintf(fp, " number of grows: %u\n", table->stats.grows);
807 fprintf(fp, " number of shrinks: %u\n", table->stats.shrinks);
808 fprintf(fp, " number of compresses: %u\n", table->stats.compresses);
809 fprintf(fp, "number of enumerate shrinks: %u\n", table->stats.enumShrinks);