Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

perf-event.c File Reference

#include "snort.h"
#include "util.h"

Go to the source code of this file.

Functions

int DisplayEventPerfStats (SFEVENT_STATS *sfEventStats)
SFEVENTGetEventPtr ()
int InitEventStats (SFEVENT *sfEvent)
int UpdateNQEvents ()
int UpdateQEvents ()
int ProcessEventStats (SFEVENT *sfEvent)


Function Documentation

int DisplayEventPerfStats SFEVENT_STATS sfEventStats  ) 
 

Definition at line 105 of file perf-event.c.

References LogMessage(), _SFEVENT_STATS::NQEvents, _SFEVENT_STATS::NQPercent, _SFEVENT_STATS::QEvents, _SFEVENT_STATS::QPercent, and _SFEVENT_STATS::TotalEvents.

Referenced by ProcessEventStats().

SFEVENT* GetEventPtr  ) 
 

Definition at line 35 of file perf-event.c.

References _SFPERF::sfEvent, and sfPerf.

Referenced by UpdateNQEvents(), and UpdateQEvents().

int InitEventStats SFEVENT sfEvent  ) 
 

Definition at line 37 of file perf-event.c.

References _SFEVENT::NQEvents, and _SFEVENT::QEvents.

Referenced by InitPerfStats().

int ProcessEventStats SFEVENT sfEvent  ) 
 

Definition at line 75 of file perf-event.c.

References DisplayEventPerfStats(), _SFEVENT_STATS::NQEvents, _SFEVENT::NQEvents, _SFEVENT_STATS::NQPercent, _SFEVENT_STATS::QEvents, _SFEVENT::QEvents, _SFEVENT_STATS::QPercent, _SFEVENT_STATS::TotalEvents, and _SFEVENT::TotalEvents.

Referenced by ProcessPerfStats().

int UpdateNQEvents  ) 
 

Definition at line 45 of file perf-event.c.

References GetEventPtr(), _SFPERF::iPerfFlags, _SFEVENT::NQEvents, sfPerf, SFPERF_EVENT, and _SFEVENT::TotalEvents.

Referenced by fpEvalHeaderSW(), and otnx_match().

int UpdateQEvents  ) 
 

Definition at line 60 of file perf-event.c.

References GetEventPtr(), _SFPERF::iPerfFlags, _SFEVENT::QEvents, sfPerf, SFPERF_EVENT, and _SFEVENT::TotalEvents.

Referenced by fpEvalHeaderSW(), and otnx_match().


Generated on Sun May 14 14:51:25 2006 by  doxygen 1.4.2