GNUnet  0.11.x
Data Fields
BenchmarkPartner Struct Reference

Information about a benchmarking partner. More...

#include </home/handbook/gnunet/src/ats-tests/ats-testing.h>

Collaboration diagram for BenchmarkPartner:
[legend]

Data Fields

struct BenchmarkPeerme
 The peer itself this partner belongs to. More...
 
struct BenchmarkPeerdest
 The partner peer. More...
 
struct GNUNET_MQ_Handlemq
 Message queue handle. More...
 
struct TrafficGeneratortg
 Handle for traffic generator. More...
 
struct PreferenceGeneratorpg
 Handle for preference generator. More...
 
struct GNUNET_TIME_Absolute last_message_sent
 Timestamp to calculate communication layer delay. More...
 
unsigned int total_app_rtt
 Accumulated RTT for all messages. More...
 
unsigned int messages_sent
 Number of messages sent to this partner. More...
 
unsigned int bytes_sent
 Number of bytes sent to this partner. More...
 
unsigned int messages_received
 Number of messages received from this partner. More...
 
unsigned int bytes_received
 Number of bytes received from this partner. More...
 
struct GNUNET_ATS_Properties props
 Current ATS properties. More...
 
uint32_t bandwidth_in
 Bandwidth assigned inbound. More...
 
uint32_t bandwidth_out
 Bandwidth assigned outbound. More...
 
double pref_bandwidth
 Current preference values for bandwidth. More...
 
double pref_delay
 Current preference values for delay. More...
 

Detailed Description

Information about a benchmarking partner.

Definition at line 275 of file ats-testing.h.

Field Documentation

◆ me

struct BenchmarkPeer* BenchmarkPartner::me

◆ dest

struct BenchmarkPeer* BenchmarkPartner::dest

◆ mq

struct GNUNET_MQ_Handle* BenchmarkPartner::mq

Message queue handle.

Definition at line 290 of file ats-testing.h.

Referenced by comm_connect_cb(), comm_schedule_send(), and GNUNET_ATS_TEST_traffic_handle_ping().

◆ tg

struct TrafficGenerator* BenchmarkPartner::tg

◆ pg

struct PreferenceGenerator* BenchmarkPartner::pg

◆ last_message_sent

struct GNUNET_TIME_Absolute BenchmarkPartner::last_message_sent

Timestamp to calculate communication layer delay.

Definition at line 305 of file ats-testing.h.

Referenced by comm_schedule_send(), and GNUNET_ATS_TEST_traffic_handle_pong().

◆ total_app_rtt

unsigned int BenchmarkPartner::total_app_rtt

Accumulated RTT for all messages.

Definition at line 310 of file ats-testing.h.

Referenced by evaluate(), GNUNET_ATS_TEST_logging_now(), and GNUNET_ATS_TEST_traffic_handle_pong().

◆ messages_sent

unsigned int BenchmarkPartner::messages_sent

Number of messages sent to this partner.

Definition at line 315 of file ats-testing.h.

Referenced by evaluate(), GNUNET_ATS_TEST_logging_now(), update_ping_data(), and update_pong_data().

◆ bytes_sent

unsigned int BenchmarkPartner::bytes_sent

Number of bytes sent to this partner.

Definition at line 320 of file ats-testing.h.

Referenced by evaluate(), GNUNET_ATS_TEST_logging_now(), update_ping_data(), and update_pong_data().

◆ messages_received

unsigned int BenchmarkPartner::messages_received

Number of messages received from this partner.

Definition at line 325 of file ats-testing.h.

Referenced by GNUNET_ATS_TEST_logging_now(), GNUNET_ATS_TEST_traffic_handle_ping(), and GNUNET_ATS_TEST_traffic_handle_pong().

◆ bytes_received

unsigned int BenchmarkPartner::bytes_received

Number of bytes received from this partner.

Definition at line 330 of file ats-testing.h.

Referenced by evaluate(), GNUNET_ATS_TEST_logging_now(), GNUNET_ATS_TEST_traffic_handle_ping(), and GNUNET_ATS_TEST_traffic_handle_pong().

◆ props

struct GNUNET_ATS_Properties BenchmarkPartner::props

Current ATS properties.

Definition at line 335 of file ats-testing.h.

Referenced by ats_performance_info_cb(), GNUNET_ATS_TEST_logging_now(), and main_run().

◆ bandwidth_in

uint32_t BenchmarkPartner::bandwidth_in

Bandwidth assigned inbound.

Definition at line 340 of file ats-testing.h.

Referenced by ats_performance_info_cb(), and GNUNET_ATS_TEST_logging_now().

◆ bandwidth_out

uint32_t BenchmarkPartner::bandwidth_out

Bandwidth assigned outbound.

Definition at line 345 of file ats-testing.h.

Referenced by ats_performance_info_cb(), and GNUNET_ATS_TEST_logging_now().

◆ pref_bandwidth

double BenchmarkPartner::pref_bandwidth

Current preference values for bandwidth.

Definition at line 350 of file ats-testing.h.

Referenced by GNUNET_ATS_TEST_logging_now(), and set_pref_task().

◆ pref_delay

double BenchmarkPartner::pref_delay

Current preference values for delay.

Definition at line 355 of file ats-testing.h.

Referenced by GNUNET_ATS_TEST_logging_now(), and set_pref_task().


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