aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/timer
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-10-26 03:07:18 +0000
committerlloyd <[email protected]>2008-10-26 03:07:18 +0000
commita8ee54d459a42d98fdfe1e9ff4f0c011c2f41e10 (patch)
tree576d871ed243508e5458456d12ea99d240e8339c /src/utils/timer
parentb1344477a80c7410da9ce05dd3343c04d24f8095 (diff)
Move rng.{cpp,h} from core to rng/ topdir
Add a new class AutoSeeded_RNG that is a RandomNumberGenerator that wraps up the logic formerly in RandomNumberGenerator::make_rng. make_rng in fact now just returns a new AutoSeeded_RNG object. AutoSeeded_RNG is a bit more convenient because - No need to use auto_ptr - No need to dereference (same syntax everywhere - it's an underestimated advantage imo) Also move the code from timer/timer_base to timer/
Diffstat (limited to 'src/utils/timer')
-rw-r--r--src/utils/timer/cpu_counter/info.txt2
-rw-r--r--src/utils/timer/gettimeofday/info.txt2
-rw-r--r--src/utils/timer/info.txt (renamed from src/utils/timer/timer_base/info.txt)0
-rw-r--r--src/utils/timer/posix_rt/info.txt2
-rw-r--r--src/utils/timer/timers.cpp (renamed from src/utils/timer/timer_base/timers.cpp)0
-rw-r--r--src/utils/timer/timers.h (renamed from src/utils/timer/timer_base/timers.h)0
-rw-r--r--src/utils/timer/win32_query_perf_ctr/info.txt2
7 files changed, 4 insertions, 4 deletions
diff --git a/src/utils/timer/cpu_counter/info.txt b/src/utils/timer/cpu_counter/info.txt
index eef6be5a2..025663a84 100644
--- a/src/utils/timer/cpu_counter/info.txt
+++ b/src/utils/timer/cpu_counter/info.txt
@@ -32,5 +32,5 @@ hppa
</arch>
<requires>
-timer_base
+timer
</requires>
diff --git a/src/utils/timer/gettimeofday/info.txt b/src/utils/timer/gettimeofday/info.txt
index c079dfd58..d3812eedf 100644
--- a/src/utils/timer/gettimeofday/info.txt
+++ b/src/utils/timer/gettimeofday/info.txt
@@ -27,6 +27,6 @@ tru64
</os>
<requires>
-timer_base
+timer
</requires>
diff --git a/src/utils/timer/timer_base/info.txt b/src/utils/timer/info.txt
index 3637d4c94..3637d4c94 100644
--- a/src/utils/timer/timer_base/info.txt
+++ b/src/utils/timer/info.txt
diff --git a/src/utils/timer/posix_rt/info.txt b/src/utils/timer/posix_rt/info.txt
index fb1870988..7501373bb 100644
--- a/src/utils/timer/posix_rt/info.txt
+++ b/src/utils/timer/posix_rt/info.txt
@@ -23,6 +23,6 @@ linux
</os>
<requires>
-timer_base
+timer
</requires>
diff --git a/src/utils/timer/timer_base/timers.cpp b/src/utils/timer/timers.cpp
index 4f482916f..4f482916f 100644
--- a/src/utils/timer/timer_base/timers.cpp
+++ b/src/utils/timer/timers.cpp
diff --git a/src/utils/timer/timer_base/timers.h b/src/utils/timer/timers.h
index 253f71f6b..253f71f6b 100644
--- a/src/utils/timer/timer_base/timers.h
+++ b/src/utils/timer/timers.h
diff --git a/src/utils/timer/win32_query_perf_ctr/info.txt b/src/utils/timer/win32_query_perf_ctr/info.txt
index 5ac05da95..e74259184 100644
--- a/src/utils/timer/win32_query_perf_ctr/info.txt
+++ b/src/utils/timer/win32_query_perf_ctr/info.txt
@@ -21,6 +21,6 @@ windows -> user32
</libs>
<requires>
-timer_base
+timer
</requires>