base/frameworks/input/readers/benchmark.bro

InputBenchmark

Interface for the benchmark input reader.

Namespace:InputBenchmark
Source File:/scripts/base/frameworks/input/readers/benchmark.bro

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.

InputBenchmark::spread
Type:count
Attributes:&redef
Default:0

Spread factor between lines.

InputBenchmark::stopspreadat
Type:count
Attributes:&redef
Default:0

Stop spreading at x lines per heartbeat.

InputBenchmark::timedspread
Type:double
Attributes:&redef
Default:0.0

1 -> enable timed spreading.

Copyright 2016, The Bro Project. Last updated on December 19, 2018. Created using Sphinx 1.8.2.