More stats improvements

Broke out the stats collection into a bunch of new Bifs
in stats.bif.  Scripts that use stats collection functions
have also been updated.  More work to do.
This commit is contained in:
Seth Hall 2016-01-07 16:20:24 -05:00
parent 6aeeb94d76
commit 6d836b7956
27 changed files with 479 additions and 353 deletions

View file

@ -19,6 +19,8 @@ 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,
@ -132,7 +134,6 @@ public:
void Describe(ODesc* d) const;
void Dump(FILE* f);
void DumpStats(FILE* f);
unsigned int MemoryAllocation() const;