Performance metrics for a connection. More...
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... | |
Performance metrics for a connection.
Definition at line 218 of file gnunet-service-cadet_connection.h.
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().
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().
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().
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().
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().