GNUnet 0.21.1
GNUNET_TESTING_Timer Struct Reference

Performance counter. More...

#include <gnunet_testing_loop_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.

Definition at line 474 of file gnunet_testing_loop_lib.h.

Field Documentation

◆ prefix

const char* GNUNET_TESTING_Timer::prefix

For which type of commands.

Definition at line 479 of file gnunet_testing_loop_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 484 of file gnunet_testing_loop_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 490 of file gnunet_testing_loop_lib.h.

◆ num_commands

unsigned int GNUNET_TESTING_Timer::num_commands

Number of commands summed up.

Definition at line 495 of file gnunet_testing_loop_lib.h.

◆ num_retries

unsigned int GNUNET_TESTING_Timer::num_retries

Number of retries summed up.

Definition at line 500 of file gnunet_testing_loop_lib.h.


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