Changeset 1925 for trunk/src/kmk/hash.c
- Timestamp:
- Oct 24, 2008, 5:32:21 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/hash.c
r1915 r1925 488 488 100.0 * (double) ht->ht_fill / (double) ht->ht_size); 489 489 fprintf (out_FILE, _("Rehash=%d, "), ht->ht_rehashes); 490 MAKE_STATS( 490 491 fprintf (out_FILE, _("Collisions=%ld/%ld=%.0f%%"), ht->ht_collisions, ht->ht_lookups, 491 492 (ht->ht_lookups 492 493 ? (100.0 * (double) ht->ht_collisions / (double) ht->ht_lookups) 493 494 : 0)); 495 ); 494 496 } 495 497
Note:
See TracChangeset
for help on using the changeset viewer.