GNUnet  0.16.x
Data Fields
GNUNET_TESTING_Timer Struct Reference

Performance counter. More...

#include <gnunet_testing_ng_lib.h>

Collaboration diagram for GNUNET_TESTING_Timer:
[legend]

Data Fields

const char * prefix
 For which type of commands. More...
 
struct GNUNET_TIME_Relative total_duration
 Total time spend in all commands of this type. More...
 
struct GNUNET_TIME_Relative success_latency
 Total time spend waiting for the successful exeuction in all commands of this type. More...
 
unsigned int num_commands
 Number of commands summed up. More...
 
unsigned int num_retries
 Number of retries summed up. More...
 

Detailed Description

Performance counter.

// FIXME: this might not belong here!

Definition at line 482 of file gnunet_testing_ng_lib.h.

Field Documentation

◆ prefix

const char* GNUNET_TESTING_Timer::prefix

For which type of commands.

Definition at line 487 of file gnunet_testing_ng_lib.h.

◆ total_duration

struct GNUNET_TIME_Relative GNUNET_TESTING_Timer::total_duration

Total time spend in all commands of this type.

Definition at line 487 of file gnunet_testing_ng_lib.h.

◆ success_latency

struct GNUNET_TIME_Relative GNUNET_TESTING_Timer::success_latency

Total time spend waiting for the successful exeuction in all commands of this type.

Definition at line 487 of file gnunet_testing_ng_lib.h.

◆ num_commands

unsigned int GNUNET_TESTING_Timer::num_commands

Number of commands summed up.

Definition at line 503 of file gnunet_testing_ng_lib.h.

◆ num_retries

unsigned int GNUNET_TESTING_Timer::num_retries

Number of retries summed up.

Definition at line 508 of file gnunet_testing_ng_lib.h.


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