diff options
author | Nathan Binkert <binkertn@umich.edu> | 2007-02-09 16:44:02 -0800 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2007-02-09 16:44:02 -0800 |
commit | 63a82400596b9331d1babe88624f97209286d0b9 (patch) | |
tree | 5090e48bcb29d8a41e6ddc44549dc4f0ee221a9a /src/python/SConscript | |
parent | 81c5d0e3d86cc31227f88e10f66ebfbd37f63ce8 (diff) | |
download | gem5-63a82400596b9331d1babe88624f97209286d0b9.tar.xz |
Get rid of the Random context and add the support directly to python.
We don't currently use randomness much, so I didn't go too far, but
in the future, we may want to actually expose the random number values
themselves to python. For now, I'll at least let you seed it.
While we're at it, clean up a clearly bad way for generating random
doubles.
--HG--
extra : convert_revision : df2aa8b58dd0d9c2a7c771668a760b2df8db1e11
Diffstat (limited to 'src/python/SConscript')
-rw-r--r-- | src/python/SConscript | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/python/SConscript b/src/python/SConscript index a8104e8cc..61cab45f3 100644 --- a/src/python/SConscript +++ b/src/python/SConscript @@ -108,6 +108,7 @@ def swig_it(basename): swig_it('main') swig_it('debug') swig_it('event') +swig_it('random') swig_it('trace') # Action function to build the zip archive. Uses the PyZipFile module |