ZAM support for "when" statements

This commit is contained in:
Vern Paxson 2023-06-16 16:12:56 -07:00 committed by Arne Welzel
parent 558cec58ed
commit d89b39a0bb
7 changed files with 246 additions and 35 deletions

View file

@ -31,6 +31,11 @@ namespace zeek::detail
using std::vector;
// Thrown when a call inside a "when" delays.
class ZAMDelayedCallException : public InterpreterException
{
};
static bool did_init = false;
// Count of how often each type of ZOP executed, and how much CPU it