aboutsummaryrefslogtreecommitdiffstats
path: root/checks/timer.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-08-31 03:44:50 +0000
committerlloyd <[email protected]>2008-08-31 03:44:50 +0000
commit4602c3cbed029bbdda399b40ff3b1e9675fa2ff4 (patch)
tree0eed9e8649d752eb11b0f9fdbfe93e560a2f13a5 /checks/timer.cpp
parentfcf22c70fd3c7eea182459d55e4289f9f72ec8ab (diff)
Inline some methods of Timer
Randomly generate the RW keys as well, removing all need for the keys/ dir
Diffstat (limited to 'checks/timer.cpp')
-rw-r--r--checks/timer.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/checks/timer.cpp b/checks/timer.cpp
index 8b7a6d9be..4abd8a05f 100644
--- a/checks/timer.cpp
+++ b/checks/timer.cpp
@@ -36,32 +36,6 @@ void Timer::stop()
}
}
-u64bit Timer::value()
- {
- stop();
- return time_used;
- }
-
-double Timer::seconds()
- {
- return milliseconds() / 1000.0;
- }
-
-double Timer::milliseconds()
- {
- return value() / 1000000.0;
- }
-
-double Timer::ms_per_event()
- {
- return milliseconds() / events();
- }
-
-double Timer::seconds_per_event()
- {
- return seconds() / events();
- }
-
std::ostream& operator<<(std::ostream& out, Timer& timer)
{
//out << timer.value() << " ";