summaryrefslogtreecommitdiff
path: root/src/base/inet.hh
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2014-09-03 07:42:55 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2014-09-03 07:42:55 -0400
commit83a46bfc09cbfd8b7e117fc7bdb14ad907438f6f (patch)
tree5c4aff2cb7896d3ab6a32e9b97a8ced8ecf2ab3d /src/base/inet.hh
parent2698e739660516af442c0f913eb0e91a00e7b7db (diff)
downloadgem5-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 'src/base/inet.hh')
0 files changed, 0 insertions, 0 deletions