GNUnet 0.22.2
GNUNET_TESTING_Timer Struct Reference

Performance counter. More...

#include <gnunet_testing_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 execution 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.

Definition at line 484 of file gnunet_testing_lib.h.

Field Documentation

◆ prefix

const char* GNUNET_TESTING_Timer::prefix

For which type of commands.

Definition at line 489 of file gnunet_testing_lib.h.

Referenced by stat_cmd().

◆ total_duration

struct GNUNET_TIME_Relative GNUNET_TESTING_Timer::total_duration

Total time spend in all commands of this type.

Definition at line 494 of file gnunet_testing_lib.h.

Referenced by stat_cmd().

◆ success_latency

struct GNUNET_TIME_Relative GNUNET_TESTING_Timer::success_latency

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

Definition at line 500 of file gnunet_testing_lib.h.

Referenced by stat_cmd().

◆ num_commands

unsigned int GNUNET_TESTING_Timer::num_commands

Number of commands summed up.

Definition at line 505 of file gnunet_testing_lib.h.

Referenced by stat_cmd().

◆ num_retries

unsigned int GNUNET_TESTING_Timer::num_retries

Number of retries summed up.

Definition at line 510 of file gnunet_testing_lib.h.

Referenced by stat_cmd().


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