From 1b24e2f9bb84d64ff07f28a330e1913de790df0c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 20 Mar 2020 18:38:57 +0100 Subject: more statistics, make explicit table lock optional, can hurt performance badly --- src/include/taler_testing_lib.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'src/include') diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index 6066aa5ee..a7c91ca4b 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -505,6 +505,19 @@ struct TALER_TESTING_Command */ struct GNUNET_TIME_Absolute finish_time; + /** + * When did we start the last request of this command? + * Delta to @e finish_time gives the latency for the last + * successful request. + */ + struct GNUNET_TIME_Absolute last_req_time; + + /** + * How often did we try to execute this command? (In case + * it is a request that is repated.) + */ + unsigned int num_tries; + }; @@ -1846,10 +1859,21 @@ struct TALER_TESTING_Timer */ struct GNUNET_TIME_Relative total_duration; + /** + * Total time spend waiting for the *successful* exeuction + * in all commands of this type. + */ + struct GNUNET_TIME_Relative success_latency; + /** * Number of commands summed up. */ unsigned int num_commands; + + /** + * Number of retries summed up. + */ + unsigned int num_retries; }; -- cgit v1.2.3