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

@ -302,6 +302,15 @@ public:
*/
std::string DetectMIME(const u_char* data, uint64 len) const;
uint64 CurrentFiles()
{ return id_map.Length(); }
uint64 MaxFiles()
{ return id_map.MaxLength(); }
uint64 CumulativeFiles()
{ return id_map.NumCumulativeInserts(); }
protected:
friend class FileTimer;