suricata
StatsPublicThreadContext_ Struct Reference

Stats Context for a ThreadVars instance. More...

#include <counters.h>

Collaboration diagram for StatsPublicThreadContext_:

Public Member Functions

 SC_ATOMIC_DECLARE (bool, sync_now)
 

Data Fields

StatsCounterhead
 
uint16_t curr_id
 
const StatsCounter ** pc_array
 
StatsLocalCountercopy_of_private
 
SCSpinlock lock
 

Detailed Description

Stats Context for a ThreadVars instance.

Definition at line 81 of file counters.h.

Member Function Documentation

◆ SC_ATOMIC_DECLARE()

StatsPublicThreadContext_::SC_ATOMIC_DECLARE ( bool  ,
sync_now   
)

Field Documentation

◆ copy_of_private

StatsLocalCounter* StatsPublicThreadContext_::copy_of_private

Definition at line 97 of file counters.h.

◆ curr_id

uint16_t StatsPublicThreadContext_::curr_id

Definition at line 89 of file counters.h.

◆ head

StatsCounter* StatsPublicThreadContext_::head

Definition at line 86 of file counters.h.

◆ lock

SCSpinlock StatsPublicThreadContext_::lock

Definition at line 100 of file counters.h.

◆ pc_array

const StatsCounter** StatsPublicThreadContext_::pc_array

Definition at line 95 of file counters.h.


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