MCPcopy Create free account
hub / github.com/boostorg/build / hashstats_print

Function hashstats_print

v2/engine/hash.c:366–377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364
365
366void hashstats_print( struct hashstats * stats, char const * name )
367{
368 printf( "%s table: %d+%d+%d (%dK+%luK+%luK) items+table+hash, %f density\n",
369 name,
370 stats->count,
371 stats->num_items,
372 stats->tab_size,
373 stats->num_items * stats->item_size / 1024,
374 (long unsigned)stats->tab_size * sizeof( ITEM * * ) / 1024,
375 (long unsigned)stats->num_hashes * sizeof( struct hash ) / 1024,
376 (float)stats->count / (float)stats->sets );
377}
378
379
380void hashdone( struct hash * hp )

Callers 3

module_statFunction · 0.85
class_module_statFunction · 0.85
hashstatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected