zeek/scripts/policy/misc/profiling.zeek
Jon Siwek aebcb1415d GH-234: rename Broxygen to Zeexygen along with roles/directives
* All "Broxygen" usages have been replaced in
  code, documentation, filenames, etc.

* Sphinx roles/directives like ":bro:see" are now ":zeek:see"

* The "--broxygen" command-line option is now "--zeexygen"
2019-04-22 19:45:50 -07:00

19 lines
411 B
Text

##! Turns on profiling of Bro resource consumption.
module Profiling;
## Set the profiling output file.
redef profiling_file = open_log_file("prof");
## Set the cheap profiling interval.
redef profiling_interval = 15 secs;
## Set the expensive profiling interval (multiple of
## :zeek:id:`profiling_interval`).
redef expensive_profiling_multiple = 20;
event zeek_init()
{
set_buf(profiling_file, F);
}