#include "perf-base.h"
#include "perf-flow.h"
#include "perf-event.h"
Go to the source code of this file.
Defines | |
#define | SFPERF_BASE 1 |
#define | SFPERF_FLOW 2 |
#define | SFPERF_EVENT 4 |
#define | SFPERF_BASE_MAX 8 |
#define | SFPERF_CONSOLE 16 |
#define | SFPERF_FILE 32 |
#define | SFPERF_PKTCNT 64 |
#define | SFPERF_SUMMARY 128 |
#define | UINT64 unsigned long long |
Typedefs | |
typedef _SFPERF | SFPERF |
Functions | |
int | sfInitPerformanceStatistics (SFPERF *sfPerf) |
int | sfSetPerformanceSampleTime (SFPERF *sfPerf, int iSeconds) |
int | sfSetPerformanceAccounting (SFPERF *sfPerf, int iReset) |
int | sfSetPerformanceStatistics (SFPERF *sfPerf, int iFlag) |
int | sfSetPerformanceStatisticsEx (SFPERF *sfPerf, int iFlag, void *param) |
int | sfRotatePerformanceStatisticsFile (SFPERF *sfPerf) |
int | sfPerformanceStats (SFPERF *sfPerf, unsigned char *pucPacket, int len, int iRebuiltPkt) |
int | sfProcessPerfStats (SFPERF *sfPerf) |
int | CheckSampleInterval (time_t curr_time, SFPERF *sfPerf) |
|
Definition at line 52 of file perf.h. Referenced by InitPerfStats(), ParsePerfMonitorArgs(), ProcessPerfStats(), sfSetPerformanceStatistics(), and UpdatePerfStats(). |
|
Definition at line 55 of file perf.h. Referenced by ParsePerfMonitorArgs(), and sfSetPerformanceStatistics(). |
|
Definition at line 56 of file perf.h. Referenced by ParsePerfMonitorArgs(), ProcessPerfStats(), and sfSetPerformanceStatistics(). |
|
Definition at line 54 of file perf.h. Referenced by InitPerfStats(), ParsePerfMonitorArgs(), ProcessPerfStats(), sfSetPerformanceStatistics(), UpdateNQEvents(), and UpdateQEvents(). |
|
Definition at line 57 of file perf.h. Referenced by ParsePerfMonitorArgs(), ProcessPerfStats(), sfRotatePerformanceStatisticsFile(), and sfSetPerformanceStatisticsEx(). |
|
Definition at line 53 of file perf.h. Referenced by InitPerfStats(), ParsePerfMonitorArgs(), ProcessPerfMonitor(), ProcessPerfStats(), sfSetPerformanceStatistics(), UpdateICMPFlowStatsEx(), UpdatePerfStats(), UpdateTCPFlowStatsEx(), and UpdateUDPFlowStatsEx(). |
|
Definition at line 58 of file perf.h. Referenced by ParsePerfMonitorArgs(), and sfSetPerformanceStatisticsEx(). |
|
Definition at line 59 of file perf.h. Referenced by ParsePerfMonitorArgs(), sfPerformanceStats(), and sfSetPerformanceStatisticsEx(). |
|
|
|
|
|
Definition at line 235 of file perf.c. References InitPerfStats(), ProcessPerfStats(), _SFPERF::sample_interval, and _SFPERF::sample_time. Referenced by ParsePerfMonitorArgs(), and sfPerformanceStats(). |
|
Definition at line 49 of file perf.c. References memset, sfSetPerformanceSampleTime(), and sfSetPerformanceStatistics(). Referenced by ParsePerfMonitorArgs(). |
|
Definition at line 216 of file perf.c. References CheckSampleInterval(), _SFPERF::iPerfFlags, _SFPERF::iPktCnt, NULL, SFPERF_SUMMARY, and UpdatePerfStats(). Referenced by ProcessPerfMonitor(). |
|
Definition at line 297 of file perf.c. References ProcessPerfStats(). Referenced by PerfMonitorCleanExit(). |
|
Definition at line 159 of file perf.c. References errno, FatalError(), FILE_MAX, LogMessage(), NULL, PATH_MAX, SFPERF_FILE, sfSetPerformanceStatisticsEx(), and snprintf. Referenced by ProcessPerfMonitor(). |
|
Definition at line 73 of file perf.c. References _SFBASE::iReset, and _SFPERF::sfBase. Referenced by ParsePerfMonitorArgs(). |
|
Definition at line 58 of file perf.c. References _SFPERF::sample_interval, and _SFPERF::sample_time. Referenced by ParsePerfMonitorArgs(), and sfInitPerformanceStatistics(). |
|
Definition at line 81 of file perf.c. References _SFBASE::iFlags, _SFPERF::iPerfFlags, MAX_PERF_STATS, _SFPERF::sfBase, SFPERF_BASE, SFPERF_BASE_MAX, SFPERF_CONSOLE, SFPERF_EVENT, and SFPERF_FLOW. Referenced by ParsePerfMonitorArgs(), and sfInitPerformanceStatistics(). |
|
Definition at line 112 of file perf.c. References _SFPERF::fh, _SFPERF::file, _SFPERF::iPerfFlags, _SFPERF::iPktCnt, SFPERF_FILE, SFPERF_PKTCNT, and SFPERF_SUMMARY. Referenced by ParsePerfMonitorArgs(), and sfRotatePerformanceStatisticsFile(). |