refactor duration.
We are now supporting fractional duration, for example, one could
write const(200, 0.2s) - and should get load of 200 RPS for 0.2
seconds.
cast loop_limit and ammo_limit anyway