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