diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-07-24 18:23:39 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-07-24 18:23:39 +0200 |
commit | 92dc0c285aa906703485443712c682e56946836c (patch) | |
tree | a22daf6ec179059c670f357ac92bfadc7baea4e6 | |
parent | a6a28024db42a43608d69e1df3778967ecab54f7 (diff) | |
download | exchange-92dc0c285aa906703485443712c682e56946836c.tar.xz |
Benchmark.
Iterations are counted "per coin". Basically,
the user expresses how many coins they want to
instantiate for a single invocation of the command.
-rw-r--r-- | src/benchmark/taler-exchange-benchmark-new.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/benchmark/taler-exchange-benchmark-new.c b/src/benchmark/taler-exchange-benchmark-new.c index 855877802..641a9da72 100644 --- a/src/benchmark/taler-exchange-benchmark-new.c +++ b/src/benchmark/taler-exchange-benchmark-new.c @@ -76,9 +76,9 @@ static unsigned int result; static struct GNUNET_OS_Process *bankd; /** - * How many "runs" the user wants for benchmarking. + * How many coins we want to create. */ -static unsigned int iterations; +static unsigned int howmany_coins; /** * Log level used during the run. @@ -342,11 +342,11 @@ main (int argc, (&loglev), GNUNET_GETOPT_option_uint - ('I', - "payments-number", - "I", - "How many iterations to run, defaults to 1", - &iterations), + ('n', + "coins-number", + "CN", + "How many coins we should instantiate", + &howmany_coins), GNUNET_GETOPT_option_string ('b', |