Thread (4 messages) 4 messages, 3 authors, 2011-01-29

Creating the same random numbers

From: Andreas Leppert <hidden>
Date: 2011-01-29 23:38:22

Hi,

On Sat, Jan 29, 2011 at 07:34:21PM +0000, Anuz Pratap Singh Tomar wrote:
quoted
for my evaluation of different kernel modules which rely on randomness I
need the same set of random numbers for each of them.

Is there any chance that I can get a random number which depends on a
kind of seed value? So if I start with the same seed value, the same
random numbers should be generated.
If the same numbers are generated, then how can you call it random?
 
I want to compare different kernel modules which all require some data
based on randomness. But I can only compare them correctly, if they get
the same random data at a certain stage. 

I do only need this (the "fixed random numbers") for my evaluation!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help