base/frameworks/input/readers/benchmark.zeek¶
-
InputBenchmark
¶
Interface for the benchmark input reader.
Namespace: | InputBenchmark |
---|
Summary¶
Redefinable Options¶
InputBenchmark::addfactor : count &redef |
Addition factor for each heartbeat. |
InputBenchmark::autospread : double &redef |
Spreading where usleep = 1000000 / autospread * num_lines |
InputBenchmark::factor : double &redef |
Multiplication factor for each second. |
InputBenchmark::spread : count &redef |
Spread factor between lines. |
InputBenchmark::stopspreadat : count &redef |
Stop spreading at x lines per heartbeat. |
InputBenchmark::timedspread : double &redef |
1 -> enable timed spreading. |
Detailed Interface¶
Redefinable Options¶
-
InputBenchmark::addfactor
¶ Type: count
Attributes: &redef
Default: 0
Addition factor for each heartbeat.
-
InputBenchmark::autospread
¶ Type: double
Attributes: &redef
Default: 0.0
Spreading where usleep = 1000000 / autospread * num_lines
-
InputBenchmark::factor
¶ Type: double
Attributes: &redef
Default: 1.0
Multiplication factor for each second.