CACAO
Macros
statistics.hpp File Reference

This file contains the statistics framework. More...

Go to the source code of this file.

Macros

#define STAT_DECLARE_VAR(type, var, init)
 Declare an external statistics variable. More...
 
#define STAT_REGISTER_VAR_EXTERN(type, var, init, name, description)
 Register an external statistics variable. More...
 
#define STAT_REGISTER_GROUP_VAR_EXTERN(type, var, init, name, description, group)
 Register an external statistics variable and add it to a group. More...
 
#define STAT_REGISTER_VAR(type, var, init, name, description)
 Register an external statistics variable. More...
 
#define STAT_REGISTER_GROUP_VAR(type, var, init, name, description, group)
 Register an statistics variable and add it to a group. More...
 
#define STAT_REGISTER_DIST(counttype, indextype, var, start, end, step, init, name, description)
 Define a distribution table (steps). More...
 
#define STAT_REGISTER_DIST_RANGE(counttype, indextype, var, range, range_size, init, name, description)
 Define a distribution table (range). More...
 
#define STAT_DECLARE_GROUP(var)
 Declare an external group (or subgroup). More...
 
#define STAT_REGISTER_GROUP(var, name, description)
 Register a statistics group. More...
 
#define STAT_REGISTER_SUM_GROUP(var, name, description)
 Register a statistics summary group. More...
 
#define STAT_REGISTER_SUM_SUBGROUP(var, name, description, group)
 Register a statistics summary group. More...
 
#define STAT_REGISTER_SUBGROUP(var, name, description, group)
 Register a statistics group and add it to a group. More...
 
#define STATISTICS(x)   /* nothing */
 Wrapper for statistics only code. More...
 

Detailed Description

This file contains the statistics framework.

Definition in file statistics.hpp.