Continued stats cleanup and extension.

This commit is contained in:
Seth Hall 2016-01-09 01:14:13 -05:00
parent 3c71d4ffa8
commit cfdabb901f
9 changed files with 59 additions and 61 deletions

View file

@ -19,8 +19,6 @@ class DFA_Machine;
class DFA_State;
struct CacheEntry;
extern uint64 total_dfa_states;
class DFA_State : public BroObj {
public:
DFA_State(int state_num, const EquivClass* ec,
@ -91,10 +89,9 @@ public:
int NumEntries() const { return states.Length(); }
struct Stats {
unsigned int dfa_states;
// Sum over all NFA states per DFA state.
// Sum of all NFA states
unsigned int nfa_states;
unsigned int dfa_states;
unsigned int computed;
unsigned int uncomputed;
unsigned int mem;