mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Continued stats cleanup and extension.
This commit is contained in:
parent
3c71d4ffa8
commit
cfdabb901f
9 changed files with 59 additions and 61 deletions
|
@ -297,6 +297,9 @@ public:
|
|||
struct Stats {
|
||||
unsigned int matchers; // # distinct RE matchers
|
||||
|
||||
// NFA states across all matchers.
|
||||
unsigned int nfa_states;
|
||||
|
||||
// # DFA states across all matchers
|
||||
unsigned int dfa_states;
|
||||
unsigned int computed; // # computed DFA state transitions
|
||||
|
@ -305,9 +308,6 @@ public:
|
|||
// # cache hits (sampled, multiply by MOVE_TO_FRONT_SAMPLE_SIZE)
|
||||
unsigned int hits;
|
||||
unsigned int misses; // # cache misses
|
||||
|
||||
// Average # NFA states per DFA state.
|
||||
unsigned int avg_nfa_states;
|
||||
};
|
||||
|
||||
Val* BuildRuleStateValue(const Rule* rule,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue