diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-03-20 18:38:57 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-03-20 18:38:57 +0100 |
commit | 1b24e2f9bb84d64ff07f28a330e1913de790df0c (patch) | |
tree | a5290dc393dc2ef06ceb052c48a588e650c93b5e /src/testing/testing_api_cmd_batch.c | |
parent | b9186bdd788b544fbbc349f655b93389fd301211 (diff) | |
download | exchange-1b24e2f9bb84d64ff07f28a330e1913de790df0c.tar.xz |
more statistics, make explicit table lock optional, can hurt performance badly
Diffstat (limited to 'src/testing/testing_api_cmd_batch.c')
-rw-r--r-- | src/testing/testing_api_cmd_batch.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/testing/testing_api_cmd_batch.c b/src/testing/testing_api_cmd_batch.c index ebb4e6d9a..5de923f7f 100644 --- a/src/testing/testing_api_cmd_batch.c +++ b/src/testing/testing_api_cmd_batch.c @@ -70,7 +70,10 @@ batch_run (void *cls, TALER_TESTING_interpreter_next (is); return; } - bs->batch[bs->batch_ip].start_time = GNUNET_TIME_absolute_get (); + bs->batch[bs->batch_ip].start_time + = bs->batch[bs->batch_ip].last_req_time + = GNUNET_TIME_absolute_get (); + bs->batch[bs->batch_ip].num_tries = 1; bs->batch[bs->batch_ip].run (bs->batch[bs->batch_ip].cls, &bs->batch[bs->batch_ip], is); |