+ for (i = 0; i<10; i++)
+ {
+ int j;
+ for (j = 0; j<5; j++)
+ stat_info.isamb_levels[i][j] = 0;
+ stat_info.isamb_sizes[i] = 0;
+ stat_info.isamb_blocks[i] = 0;
+ }
+
+ dict_scan (zh->reg->dict, term_dict, &before, &after, &stat_info,
+ inv_stat_handle);
+
+ if (zh->reg->isamc)
+ {
+ fprintf (stdout, " Blocks Occur Size KB Bytes/Entry\n");
+ for (i = 0; isamc_block_used (zh->reg->isamc, i) >= 0; i++)
+ {
+ fprintf (stdout, " %8" ZINT_FORMAT0 " %8" ZINT_FORMAT0,
+ isamc_block_used (zh->reg->isamc, i),
+ stat_info.no_isam_entries[i]);
+
+ if (stat_info.no_isam_entries[i])
+ fprintf(stdout, " %8d %f",
+ (int) ((1023.0 + (double)
+ isamc_block_used(zh->reg->isamc, i) *
+ isamc_block_size(zh->reg->isamc,i))/1024),
+ ((double) isamc_block_used(zh->reg->isamc, i) *
+ isamc_block_size(zh->reg->isamc,i))/
+ stat_info.no_isam_entries[i]);
+ fprintf (stdout, "\n");
+ }
+ }