File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -94,10 +94,11 @@ struct per_level_stats
94
94
}
95
95
}
96
96
97
- void print (std::ostream & stream) const
97
+ void print (std::ostream & stream, size_t const number_of_user_bins ) const
98
98
{
99
99
stream << std::fixed << std::setprecision (2 );
100
100
stream << " # Levels: " << number_of_levels << ' \n ' ;
101
+ stream << " # User bins: " << number_of_user_bins << ' \n ' ;
101
102
stream << " LEVEL\t " //
102
103
<< " BIT_SIZE\t " //
103
104
<< " IBFS\t " //
@@ -331,7 +332,7 @@ void execute_general_stats(config const & cfg)
331
332
if (!output_stream.good () || !output_stream.is_open ())
332
333
throw std::logic_error{" Could not open file " + cfg.output .string () + " for reading" };
333
334
334
- level_stats.print (output_stream);
335
+ level_stats.print (output_stream, hibf_layout. user_bins . size () );
335
336
}
336
337
337
338
void execute_sizes (config const & cfg)
You can’t perform that action at this time.
0 commit comments