pip_stress: parameterize usleep value to work-around platform issues

ARM platforms have timing issues with pip_stress:

    Hello,

    pip_stress works out of the box on my x86 based laptop, but
    doesn't work on ARM devices, returned 'no inversion incurred'.
    Follow the comment to increase usleep value, 2500 worked for
    pandaboard and 3000 worked for Beaglebone Black board.

    I propose that increase the usleep value to 3500 from upstream,
    so that we can use pip_stress right out of the box.

Rather than hardcode the usleep value used by pip_stress, I made
the command line option --usleep which takes a microsecond value
that defaults to 500us.

Reported-by: Chase Qi <chase.qi@linaro.org>
Signed-off-by: Clark Williams <clark.williams@gmail.com>
1 file changed