Benchmark.
Iterations are counted "per coin". Basically, the user expresses how many coins they want to instantiate for a single invocation of the command.
This commit is contained in:
parent
a6a28024db
commit
92dc0c285a
@ -76,9 +76,9 @@ static unsigned int result;
|
|||||||
static struct GNUNET_OS_Process *bankd;
|
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.
|
* Log level used during the run.
|
||||||
@ -342,11 +342,11 @@ main (int argc,
|
|||||||
(&loglev),
|
(&loglev),
|
||||||
|
|
||||||
GNUNET_GETOPT_option_uint
|
GNUNET_GETOPT_option_uint
|
||||||
('I',
|
('n',
|
||||||
"payments-number",
|
"coins-number",
|
||||||
"I",
|
"CN",
|
||||||
"How many iterations to run, defaults to 1",
|
"How many coins we should instantiate",
|
||||||
&iterations),
|
&howmany_coins),
|
||||||
|
|
||||||
GNUNET_GETOPT_option_string
|
GNUNET_GETOPT_option_string
|
||||||
('b',
|
('b',
|
||||||
|
Loading…
Reference in New Issue
Block a user