GNUnet 0.22.2
CadetConnectionMetrics Struct Reference

Performance metrics for a connection. More...

#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/service/cadet/gnunet-service-cadet_connection.h>

Collaboration diagram for CadetConnectionMetrics:
[legend]

Data Fields

struct GNUNET_TIME_Relative aged_latency
 Our current best estimate of the latency, based on a weighted average of at least latency_datapoints values. More...
 
struct GNUNET_TIME_Absolute age
 When was this connection first established? (by us sending or receiving the CREATE_ACK for the first time) More...
 
struct GNUNET_TIME_Absolute last_use
 When was this connection last used? (by us sending or receiving a PAYLOAD message on it) More...
 
unsigned long long num_acked_transmissions
 How many packets that ought to generate an ACK did we send via this connection? More...
 
unsigned long long num_successes
 Number of packets that were sent via this connection did actually receive an ACK? (Note: ACKs may be transmitted and lost via other connections, so this value should only be interpreted relative to num_acked_transmissions and in relation to other connections.) More...
 

Detailed Description

Performance metrics for a connection.

Definition at line 218 of file gnunet-service-cadet_connection.h.

Field Documentation

◆ aged_latency

struct GNUNET_TIME_Relative CadetConnectionMetrics::aged_latency

Our current best estimate of the latency, based on a weighted average of at least latency_datapoints values.

Definition at line 224 of file gnunet-service-cadet_connection.h.

Referenced by data_sent_cb(), and GCC_latency_observed().

◆ age

struct GNUNET_TIME_Absolute CadetConnectionMetrics::age

When was this connection first established? (by us sending or receiving the CREATE_ACK for the first time)

Definition at line 230 of file gnunet-service-cadet_connection.h.

Referenced by evaluate_connection(), GCC_handle_connection_create_ack(), and manage_first_hop_mq().

◆ last_use

struct GNUNET_TIME_Absolute CadetConnectionMetrics::last_use

When was this connection last used? (by us sending or receiving a PAYLOAD message on it)

Definition at line 236 of file gnunet-service-cadet_connection.h.

Referenced by evaluate_connection(), GCC_handle_encrypted(), and GCC_transmit().

◆ num_acked_transmissions

unsigned long long CadetConnectionMetrics::num_acked_transmissions

How many packets that ought to generate an ACK did we send via this connection?

Definition at line 242 of file gnunet-service-cadet_connection.h.

Referenced by evaluate_connection(), and GCC_ack_expected().

◆ num_successes

unsigned long long CadetConnectionMetrics::num_successes

Number of packets that were sent via this connection did actually receive an ACK? (Note: ACKs may be transmitted and lost via other connections, so this value should only be interpreted relative to num_acked_transmissions and in relation to other connections.)

Definition at line 251 of file gnunet-service-cadet_connection.h.

Referenced by evaluate_connection(), and GCC_ack_observed().


The documentation for this struct was generated from the following file: