Users should be able to customize the rounds and the measures interval.
Right now, rounds and interval are set on src/main.rs as const (DEFAULT_ROUNDS and DEFAULT_INTERVAL).
- create
--rounds and --interval parameters
- let
DEFAULT_ROUNDS and DEFAULT_INTERVAL stay as the defaults
- bonus: create a
--duration parameter which calculate the interval or the rounds
Users should be able to customize the rounds and the measures interval.
Right now, rounds and interval are set on
src/main.rsasconst(DEFAULT_ROUNDSandDEFAULT_INTERVAL).--roundsand--intervalparametersDEFAULT_ROUNDSandDEFAULT_INTERVALstay as the defaults--durationparameter which calculate theintervalor therounds