diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2014-09-03 07:42:55 -0400 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2014-09-03 07:42:55 -0400 |
commit | 83a46bfc09cbfd8b7e117fc7bdb14ad907438f6f (patch) | |
tree | 5c4aff2cb7896d3ab6a32e9b97a8ced8ecf2ab3d /build_opts/ALPHA | |
parent | 2698e739660516af442c0f913eb0e91a00e7b7db (diff) | |
download | gem5-83a46bfc09cbfd8b7e117fc7bdb14ad907438f6f.tar.xz |
base: Use STL C++11 random number generation
This patch changes the random number generator from the in-house
Mersenne twister to an implementation relying entirely on C++11 STL.
The format for the checkpointing of the twister is simplified. As the
functionality was never used this should not matter. Note that this
patch does not actually make use of the checkpointing
functionality. As the random number generator is not thread safe, it
may be sensible to create one generator per thread, system, or even
object. Until this is decided the status quo is maintained in that no
generator state is part of the checkpoint.
Diffstat (limited to 'build_opts/ALPHA')
0 files changed, 0 insertions, 0 deletions