GNUnet 0.22.2
statistics.h File Reference
#include "gnunet_common.h"
Include dependency graph for statistics.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  GNUNET_STATISTICS_ReplyMessage
 Statistics message. More...
 
struct  GNUNET_STATISTICS_SetMessage
 Message to set a statistic. More...
 
struct  GNUNET_STATISTICS_WatchValueMessage
 Message transmitted if a watched value changes. More...
 

Macros

#define GNUNET_STATISTICS_PERSIST_BIT   ((uint32_t) (1LLU << 31))
 Flag for the struct GNUNET_STATISTICS_ReplyMessage UID only. More...
 
#define GNUNET_STATISTICS_SETFLAG_ABSOLUTE   0
 The value being set is an absolute change. More...
 
#define GNUNET_STATISTICS_SETFLAG_RELATIVE   1
 The value being set is a relative change. More...
 
#define GNUNET_STATISTICS_SETFLAG_PERSISTENT   2
 The value being set is to be persistent (note that this bit can be combined with GNUNET_STATISTICS_SETFLAG_RELATIVE). More...
 

Detailed Description

Author
Christian Grothoff

Definition in file statistics.h.

Macro Definition Documentation

◆ GNUNET_STATISTICS_PERSIST_BIT

#define GNUNET_STATISTICS_PERSIST_BIT   ((uint32_t) (1LLU << 31))

Flag for the struct GNUNET_STATISTICS_ReplyMessage UID only.

Note that other messages use GNUNET_STATISTICS_SETFLAG_PERSISTENT.

Definition at line 65 of file statistics.h.

◆ GNUNET_STATISTICS_SETFLAG_ABSOLUTE

#define GNUNET_STATISTICS_SETFLAG_ABSOLUTE   0

The value being set is an absolute change.

Definition at line 70 of file statistics.h.

◆ GNUNET_STATISTICS_SETFLAG_RELATIVE

#define GNUNET_STATISTICS_SETFLAG_RELATIVE   1

The value being set is a relative change.

Definition at line 75 of file statistics.h.

◆ GNUNET_STATISTICS_SETFLAG_PERSISTENT

#define GNUNET_STATISTICS_SETFLAG_PERSISTENT   2

The value being set is to be persistent (note that this bit can be combined with GNUNET_STATISTICS_SETFLAG_RELATIVE).

This value must not be used for the uid member of struct GNUNET_STATISTICS_ReplyMessage!

Definition at line 83 of file statistics.h.