DirectedTrafficCounter Struct Reference


Data Fields

GNUNET_CronTime lastUpdate
unsigned int slots
PeerDate peers [MAX_PEER_IDs]
unsigned int count [HISTORY_SIZE]
double avgSize [HISTORY_SIZE]

Detailed Description

Numbers for one receive/send/self-send type.

Definition at line 98 of file traffic.c.


Field Documentation

GNUNET_CronTime DirectedTrafficCounter::lastUpdate

When was this record last updated?

Definition at line 104 of file traffic.c.

Referenced by updateUse().

unsigned int DirectedTrafficCounter::slots

Time slots for processing (shifted bitvector)

Definition at line 109 of file traffic.c.

Referenced by buildSummary(), and getTrafficStats().

PeerDate DirectedTrafficCounter::peers[MAX_PEER_IDs]

"peerCount" identities of the peers that we interacted with most recently (abreviated identities plus timestamps)

Definition at line 115 of file traffic.c.

Referenced by buildSummary(), getTrafficStats(), and updateUse().

unsigned int DirectedTrafficCounter::count[HISTORY_SIZE]

How many messages were processed? (rotating buffer)

Definition at line 120 of file traffic.c.

Referenced by buildSummary(), and getTrafficStats().

double DirectedTrafficCounter::avgSize[HISTORY_SIZE]

Average sizes (rotating buffer)

Definition at line 125 of file traffic.c.

Referenced by buildSummary(), and getTrafficStats().


The documentation for this struct was generated from the following file:
Generated on Wed Jan 7 02:18:12 2009 for GNUnet by  doxygen 1.5.1