mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00
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:
parent
6aeeb94d76
commit
6d836b7956
27 changed files with 479 additions and 353 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue