Method: GroongaQueryLog::Command::Analyzer::SizedStatistics#initialize
- Defined in:
- lib/groonga-query-log/command/analyzer/sized-statistics.rb
#initialize ⇒ SizedStatistics
Returns a new instance of SizedStatistics.
28 29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/groonga-query-log/command/analyzer/sized-statistics.rb', line 28 def initialize @max_size = 10 self.order = "-elapsed" @start_time = nil @end_time = nil @n_responses = 0 @n_slow_responses = 0 @n_slow_operations = 0 @slow_operations = SizedGroupedOperations.new @total_elapsed = 0 @collect_slow_statistics = true @workers = {} end |