GNUnet 0.22.2
UrlRequestData Struct Reference

Struct for benchmark data for one URL. More...

#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/lib/util/benchmark.h>

Collaboration diagram for UrlRequestData:
[legend]

Data Fields

char request_url [128]
 Request URL, truncated (but 0-terminated). More...
 
unsigned int status
 HTTP status code. More...
 
uint64_t count
 How often was the URL requested? More...
 
uint64_t bytes_sent
 How many bytes were sent in total to request the URL. More...
 
uint64_t bytes_received
 How many bytes were received in total as response to requesting this URL. More...
 
struct GNUNET_TIME_Relative time
 Total time spent requesting this URL. More...
 
struct GNUNET_TIME_Relative time_max
 Slowest time to response. More...
 
struct GNUNET_TIME_Relative time_min
 Fastest time to response. More...
 

Detailed Description

Struct for benchmark data for one URL.

Definition at line 65 of file benchmark.h.

Field Documentation

◆ request_url

char UrlRequestData::request_url[128]

Request URL, truncated (but 0-terminated).

Definition at line 70 of file benchmark.h.

Referenced by get_url_benchmark_data(), and write_benchmark_data().

◆ status

unsigned int UrlRequestData::status

HTTP status code.

Definition at line 75 of file benchmark.h.

Referenced by get_url_benchmark_data(), and write_benchmark_data().

◆ count

uint64_t UrlRequestData::count

How often was the URL requested?

Definition at line 80 of file benchmark.h.

Referenced by write_benchmark_data().

◆ bytes_sent

uint64_t UrlRequestData::bytes_sent

How many bytes were sent in total to request the URL.

Definition at line 85 of file benchmark.h.

Referenced by write_benchmark_data().

◆ bytes_received

uint64_t UrlRequestData::bytes_received

How many bytes were received in total as response to requesting this URL.

Definition at line 90 of file benchmark.h.

Referenced by write_benchmark_data().

◆ time

struct GNUNET_TIME_Relative UrlRequestData::time

Total time spent requesting this URL.

Definition at line 95 of file benchmark.h.

Referenced by write_benchmark_data().

◆ time_max

struct GNUNET_TIME_Relative UrlRequestData::time_max

Slowest time to response.

Definition at line 100 of file benchmark.h.

Referenced by write_benchmark_data().

◆ time_min

struct GNUNET_TIME_Relative UrlRequestData::time_min

Fastest time to response.

Definition at line 105 of file benchmark.h.


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