syslog-ng source
stats-change-per-second.c File Reference
#include "stats/aggregator/stats-aggregator.h"
#include "timeutils/cache.h"
#include "stats/stats-registry.h"
#include "stats/stats-cluster-single.h"
#include "stats/stats-cluster.h"
#include <math.h>
#include "messages.h"
Include dependency graph for stats-change-per-second.c:

Classes

struct  CPSLogic
 
struct  StatsAggregatorCPS
 

Macros

#define HOUR_IN_SEC   3600 /* 60*60 */
 
#define DAY_IN_SEC   86400 /* 60*60*24 */
 

Functions

StatsAggregator * stats_aggregator_cps_new (gint level, StatsClusterKey *sc_key, StatsClusterKey *sc_key_input, gint stats_type)
 

Macro Definition Documentation

◆ DAY_IN_SEC

#define DAY_IN_SEC   86400 /* 60*60*24 */

◆ HOUR_IN_SEC

#define HOUR_IN_SEC   3600 /* 60*60 */

Function Documentation

◆ stats_aggregator_cps_new()

StatsAggregator* stats_aggregator_cps_new ( gint  level,
StatsClusterKey *  sc_key,
StatsClusterKey *  sc_key_input,
gint  stats_type 
)