Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
static unsigned int subclass_len_distrib[256];
+static int verbose;
+
static
uint8_t random_char(void)
{
return -1;
}
}
+
+ if (argc > 3) {
+ if (!strcmp(argv[3], "-v")) {
+ verbose = 1;
+ }
+ }
+
printf("pool distributions: %d\n", nr_distrib);
if (nr_distrib != 2 && nr_distrib != 4) {
while (1) {
gen_pool();
count_pool();
- //print_pool();
- //print_count();
+ if (verbose) {
+ print_pool();
+ print_count();
+ }
stat_count();
if (!(i % 100000ULL))
print_stat(i);