----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://reviews.m5sim.org/r/595/#review971 -----------------------------------------------------------
Ship it! - Ali On 2011-03-17 17:39:34, Steve Reinhardt wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://reviews.m5sim.org/r/595/ > ----------------------------------------------------------- > > (Updated 2011-03-17 17:39:34) > > > Review request for Default, Ali Saidi, Gabe Black, Steve Reinhardt, and > Nathan Binkert. > > > Summary > ------- > > swig: get rid of m5.internal.random module (swig/random.i) > > Thanks to swig this was interfering with the standard Python > random module. The only function in that module was seed(), > which erroneously called srand48(). Moved the function to > m5.internal.core, renamed it seedRandom(), and made it call > random_mt.init() instead. > > > Diffs > ----- > > src/python/SConscript e4b508942ecb > src/python/swig/core.i e4b508942ecb > src/python/swig/random.i e4b508942ecb > > Diff: http://reviews.m5sim.org/r/595/diff > > > Testing > ------- > > > Thanks, > > Steve > > _______________________________________________ m5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/m5-dev
