pgbench: Correct for bias in --rate schedule generation.
authorNoah Misch <noah@leadboat.com>
Thu, 26 Sep 2013 03:09:50 +0000 (23:09 -0400)
committerNoah Misch <noah@leadboat.com>
Thu, 26 Sep 2013 03:11:34 +0000 (23:11 -0400)
commitc2df45a37cd9e32815fe2786cbb3ef905daaa7d2
treef110318cef8e588033878e3c955cd7817dd516a5
parent77ae7f7c356064f5355e004b95f485358dfc1360
pgbench: Correct for bias in --rate schedule generation.

Previous code gave a mean delay 0.44% below target.  This change also
has the effect of increasing the maximum possible delay.

Fabien COELHO
contrib/pgbench/pgbench.c