httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <field...@ebuilt.com>
Subject Re: cvs commit: httpd-test/flood/examples round-robin-example.xml
Date Thu, 02 Aug 2001 23:10:26 GMT
>   Added pre/post delays, as well as a precision amount for each.
>   All times are in seconds. The actual delays is calculated as:
>      actual_delay + (precision * e)
>   (where e is a number in [-1,1]). I'm using rand() to generate
>   the 'e' factor, and as this is not threadsafe on some
>   platforms (I don't really care what the number is, so this
>   is NBD), I really should change this later to be
>   something akin to apr_generate_random_bytes().

We should have a pseudo-random number generator based on a seed value
so that the same test can be repeated.  Is that how this works?

....Roy


Mime
View raw message