summaryrefslogtreecommitdiff
path: root/src/base/random.hh
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2010-11-20 12:12:27 -0800
committerNathan Binkert <nate@binkert.org>2010-11-20 12:12:27 -0800
commit4d9ff1954b8fed122122a75799a345ba3eb45a6e (patch)
tree1c735e9e09c4f8e6cc4320e669397ad4ed20ced8 /src/base/random.hh
parent34a8e37c1319dc19c10d239834030793733dc475 (diff)
downloadgem5-4d9ff1954b8fed122122a75799a345ba3eb45a6e.tar.xz
random: small comment about our random number generator and its origin
Diffstat (limited to 'src/base/random.hh')
-rw-r--r--src/base/random.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/base/random.hh b/src/base/random.hh
index b74a7c4a2..b7e2a5073 100644
--- a/src/base/random.hh
+++ b/src/base/random.hh
@@ -29,6 +29,13 @@
* Ali Saidi
*/
+/*
+ * Mersenne Twister random number generator has a period of
+ * 2^19937-1.
+ *
+ * The actual math is in its own file to keep the license clear.
+ */
+
#ifndef __BASE_RANDOM_HH__
#define __BASE_RANDOM_HH__