suricata
StatsTable_ Struct Reference

#include <output-stats.h>

Collaboration diagram for StatsTable_:

Data Fields

StatsRecordstats
 
StatsRecordtstats
 
uint32_t nstats
 
uint32_t ntstats
 
time_t start_time
 
struct timeval ts
 

Detailed Description

Definition at line 39 of file output-stats.h.

Field Documentation

◆ nstats

uint32_t StatsTable_::nstats

size in records of 'stats'

Definition at line 42 of file output-stats.h.

Referenced by StatsToJSON().

◆ ntstats

uint32_t StatsTable_::ntstats

number of threads for which tstats stores stats

Definition at line 43 of file output-stats.h.

◆ start_time

time_t StatsTable_::start_time

Definition at line 44 of file output-stats.h.

Referenced by StatsToJSON().

◆ stats

StatsRecord* StatsTable_::stats

array of global stats, indexed by counters gid

Definition at line 40 of file output-stats.h.

Referenced by StatsToJSON().

◆ ts

struct timeval StatsTable_::ts

Definition at line 44 of file output-stats.h.

◆ tstats

StatsRecord* StatsTable_::tstats

array of arrays with per thread stats

Definition at line 41 of file output-stats.h.


The documentation for this struct was generated from the following file: