mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 23:28:20 +00:00
23 lines
523 B
Text
23 lines
523 B
Text
##! Interface for the benchmark input reader.
|
|
|
|
module InputBenchmark;
|
|
|
|
export {
|
|
## Multiplication factor for each second.
|
|
const factor = 1.0 &redef;
|
|
|
|
## Spread factor between lines.
|
|
const spread = 0 &redef;
|
|
|
|
## Spreading where usleep = 1000000 / autospread * num_lines
|
|
const autospread = 0.0 &redef;
|
|
|
|
## Addition factor for each heartbeat.
|
|
const addfactor = 0 &redef;
|
|
|
|
## Stop spreading at x lines per heartbeat.
|
|
const stopspreadat = 0 &redef;
|
|
|
|
## 1 -> enable timed spreading.
|
|
const timedspread = 0.0 &redef;
|
|
}
|